HTML tags are element names surrounded by angle brackets.
- HTML tags are normally comes in pairs like <h1> and </h1>.
- The first tag in a pair is the start tag and the second tag is the end tag.
- The end tag is written like the start tag, but with a forward slash inserted before the tag name.
- The start tag is also called the opening tag, and the end tag the closing tag.
Let's see some special HTML tags.
- <!DOCTYPE html> ➤ declaration defines this document to be HTML5
- <html> ➤ is the root element of an HTML page
- <head> ➤ contains meta information about the document
- <title> ➤ specifies a title for the document
- <body> ➤ contains the visible page content
- <h1> ➤ defines a large heading
- <p> ➤ defines a paragraph
This is the HTML page structure
No comments:
Post a Comment