Tuesday, November 22, 2011

- HTML Headings ♥

What is the Largest heading?


<h1> H1 is the largest heading. Use it as <h1>text</h1>
What is the Smallest heading?
<h6> defines the least important heading.
What do browsers add automatically to a heading?
Browsers automatically add some empty space (a margin) before and after each heading. 
Why should you not use headings for bold text?
Use HTML headings for headings only. Don't use headings to make text BIG or bold.
How do search engines use headings?
Search engines use your headings to index the structure and content of your web pages.
Why is it important use headings to show document structure?
Since users may skim your pages by its headings, it is important to use headings to show the document structure
What is the most important heading?
H1 headings should be used as main headings, followed by H2 headings, then the less important H3 headings, and so on. 
What tag should be used to separate content?
The hr element can be used to separate content
What does a web browser do with comments?
Comments can be inserted into the HTML code to make it more readable and understandable
Comments are ignored by the browser and are not displayed. 
Why would you add comments?
Make it more readable and understandable.         
How could you view the HTML code of a web page?
To find out, right-click in the page and select "View Source" (IE) or "View Page Source" (Firefox), or similar for other browsers. This will open a window containing the HTML code of the page.
View the source of the HTML Headings page.
   

No comments:

Post a Comment