May 28, 2021 Article blog
There are a lot of students who can't tell THE DIFFERENCE between HTML and HTML5, so what's the difference between this article w3cschool to introduce you to HTML and HTML5?
HTML is a hypertext markup language that is the key to the world of web technology. HTML uses tag tags to describe a Web page, and its documentation contains HTML tags and text content, and HTML documents are also called web pages.
HTML5 is the next generation of HTML. Many elements have been modified in HTML5.
HTML is declared as
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Or:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
HTML5's declaration is simpler:
<!DOCTYPE html>
There are no charsets, async, pings, etc. in HTML, but they are in HTML5.
Many new elements have also been added to HTML5, such as audio, progress, time, data, canvas, and so on.
You can draw graphics directly using
svg
and
canvas
in HTML5, which is not available in HTML.
In HTML, video and audio cannot be played without the support of the flash player.
Video and audio playback can be supported with
<video>
and
<audio>
in HTML5.
That's the difference between HTML and HTML5. For more HTML learning follow w3cschool.com.