HTMLStructure 2
HTMLStructure 2
Title tag
<TITLE> will be used by search engines for SEO and appears in the
results of a search
Favicon
Appears to the left of the title
Typically call image favicon.ico
The required rel attribute specifies the relationship between the
current document and the linked document/resource.
Has two attributes: rel (relationship) and href
<link rel="icon" href="images/favicon.ico">
Metadata
1. Need to have charset meta for HTML5
<meta charset=utf-8">
a. Description
b. Keywords
• Span
o The <span> tag provides no visual change by itself.
o Used in conjunction with CSS (have an id attribute)
o An inline element for formatting text
HTML5 semantic elements
Improves on previous structure of webpages
Easier to see the structure of a page
There may still be times you use the div tags but try to stay away when
possible
Example
<ul>
<li>HTML5</li>
<li>JavaScript</li>
<li>Jquery</li>
</ul>
<ol>
<li>HTML5</li>
<li>JavaScript</li>
<li>Jquery</li>
</ol>