Intro to HTML

What is HTML?

HTML, you’ve probably heard of it but what is it? HTML stands for Hyper Text Markup Language. It’s a language for describing web pages. The markup language is a set of markup tags and the tags describe document content.

HTML Tags

HTML tags are keywords (tag names) that are surrounded by angle brackets like <html>. Normally, HTML tags come in pairs like <p> and </p>, the first tag in the pair is the start tags and the second tag is the end tag, using a slash before the tag name to indicate the end of that tag/action.

HTML Page Structure/Example

<html>
<head>
<title>This is my title of the page</title>
</head>

<body>

<h1>This is my Heading</h1>

<p>This is my paragraph.</p>

</body>
</html>

  • The text between <html> and </html> describes the web page
  • The text between <body> and </body> is the visible page content
  • The text between <h1> and </h1> is displayed as a heading
  • The text between <p> and </p> is displayed as a paragraph
  • The text between the <head> and </head> tags is a container for all the head elements; scripts, instruct the browser on where to find style sheets, provide meta information, and more.
  • The text between <title> and </title> defines the title of your web page, this title is important to search engine results