Hypertext Markup Language (HTML)
- HTML is used to create web pages
- HTML is not a programming language, meaning it doesn't have the ability to create dynamic functionality
- HTML includes special elements such as body, table, p, ol, li, and many others (google them)
- HTML elements are wrapped in "tags" - < and > - which distinguishes them from other page content
- HTML tags often have an opening tag and a closing '/' tag with content in-between (aka "container tags"), but not always. For example: <p> content </p>
- The tags that are not container tags are self-closing and do not need a closing tag. For example: <br> which gives a line break
- HTML provides content and structure of a web page
- CSS controls styling and layout of a web page
somehtml.html
<p>this text is contained in a paragraph tag</p> <h1>this text is contained in a heading1 tag</h1> <hr> <p>the horizontal rule tag on the previous line is a self-closing tag</p>