0% found this document useful (0 votes)
2 views2 pages

HTML5 Vs HTML4 Comparison87666556

This document compares HTML5 to HTML4, outlining new semantic elements introduced in HTML5, such as <header>, <footer>, and <nav>, which enhance the structure and meaning of web content. It also lists deprecated tags from HTML4, emphasizing a shift towards using CSS for styling and layout. Overall, HTML5 provides improved features and APIs for modern web development.

Uploaded by

theempire160
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

HTML5 Vs HTML4 Comparison87666556

This document compares HTML5 to HTML4, outlining new semantic elements introduced in HTML5, such as <header>, <footer>, and <nav>, which enhance the structure and meaning of web content. It also lists deprecated tags from HTML4, emphasizing a shift towards using CSS for styling and layout. Overall, HTML5 provides improved features and APIs for modern web development.

Uploaded by

theempire160
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

HTML5 vs HTML4 Comparison Summary

This document summarizes the key differences between HTML5 and previous HTML
versions (HTML4/XHTML), highlighting new semantic tags, removed elements, APIs, and
improved features.

1. New Semantic Elements in HTML5


New HTML5 Tag Purpose
<header> Header of a section or page
<footer> Footer of a section or page
<nav> Navigation links
<article> Independent self-contained content
<section> Thematic grouping of content
<aside> Content indirectly related to main content
<main> Main content of a document
<figure> Used for images with captions
<figcaption> Caption for <figure>
<mark> Highlights text
<time> Machine-readable date/time
<progress> Displays progress bar
<meter> Displays scalar value within a range
<details> Toggle visibility of content
<summary> Summary for <details>
<dialog> Dialog box or popup
<output> Shows result of a calculation
<bdi> Bi-directional text override
<wbr> Word break opportunity
2. Removed/Deprecated Tags in HTML5
Tag Reason for Removal/Deprecation
<font> Use CSS instead
<center> Use CSS (text-align)
<big>, <small> Use CSS for font size
<strike>, <u> Use <del>, <ins> or CSS
<applet> Replaced by <object>
<acronym> Use <abbr> instead
<frame>, <frameset> Use <iframe> or CSS layouts
<noframes> No longer needed

You might also like