A | B |
Semantically meaningful elements | those that are self-descriptive; they describe the purpose of the content they contain |
<header> | is used to define the upper most section of the page |
<hgroup> | element provides a contain structure for multiple consecutive headings |
<section> | Use it to group content into logical and distinct sections, like chapters in a story. |
<nav> | defines a page’s sections, which contains links to other pages and resources in the Web Site |
<footer> | elements defines a page’s footer content or the footer content of a specific document sections. |
<article> | defines a section on content intended to be used or distributed independently of other content |
HTML | Hypertext Markup Language |
XHTML | Extensible Hypertext Markup Language |
HTML Document | a text file that contains elements or tags that tell a browser how to display its content. |
nesting | the parent-child relationship of elements in a document structure |
the order in which nested elements are closed | first to open, last to close |
<HTML> | the document's root element |
<head> | contains information about the document. |
<body> | contains the page's content |
<title> | appears in the browser title bar |
<h1> to <h6> | heading elements |
<h1> | largest heading tag |
<h6> | smallest heading tag |
<p> | paragraph element |
container tag | contains content for display and other HTML elements |
.htm or .html | file extensions |