Skip to main content

Page structure of HTML 5 different from HTML 4 or previous HTML

A typical web page has headers, footers, navigation, central area and side bars. Now if we want to represent the same in HTML 4 with proper names to the HTML section we would probably use a DIV tag.
But in HTML 5 they have made it more clear by creating element names for those sections which makes your HTML more readable.




HTML 5 elements which form the page structure.
  • <header>: Represents header data of HTML.
  • <footer>: Footer section of the page.
  • <article>: Self-contained content.
  • <section>: Used inside article to define sections or group content in to sections.


Comments

  1. Such an excellent and interesting blog, do post like this more with more information, this was very useful, Thank you.
    Aviation Academy in Chennai
    Aviation Courses in Chennai
    fly air aviation academy chennai
    aviation training in chennai

    ReplyDelete
  2. Amazing information about the topic you have provided via your blog thanks to you for sharing such an amazing article. cheapseedbox

    ReplyDelete

Post a Comment

Popular posts from this blog

Php Interview Questions

1. What Is PHP ? 2. How can I disable the output of error messages inside the HTML page? 3. Can I return other file formats (like Word, Excel, etc) using PHP? 4. Is there any way to force PHP to do garbage collection before the end of the request? 5. Why does require($file_name) in a loop just include the first file repeatedly? 6. Can you include and call C libraries in PHP scripts? How? 7. What's the best way to start writing a PHP program? 8. Passing variables with REQUIRE function (part II) 9. I use a /cgi-bin/ad.pl for displaying rotating banners at the top of my html files. How can I insert the output of this cgi in an "included" file ? 10. please tell me how to let a html document read content from a .txt file, spit this out in a table, and how to update the specific file with a form 11. How can I add authentication to my site with PHP? I have authentication working only with one page. 12. Where can I get documentation for the Zend API? 13....

SQL for ordering by number - 1,2,3,4 etc instead of 1,10,11,12

SQL for ordering by number - 1,2,3,4 etc instead of 1,10,11,12 When we use ORDER_BY registration_no ASC get... 1 101 102 103 104 105 106 107 108 109 11 110 Etc … Using 'order by len ( registration_no )' we will get 1 11 101 102 10 104 105 106 107 108 119 Etc... This is particularly useful when the column might contain non-numeric values. Note: in some databases, the function to get the length of a string might be called  length()  instead of  len() .