I'm understanding.... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

I'm understanding....

What's the difference between html and html 5?!

2nd Apr 2018, 11:47 PM
Т П
Т П - avatar
5 Answers
+ 8
HTML5 is a markup language used for structuring and presenting content on the World Wide Web. It is the fifth and current version of the HTML standard. It was published in October 2014 by the World Wide Web Consortium (W3C) to improve the language with support for the latest multimedia, while keeping it both easily readable by humans and consistently understood by computers and devices such as web browsers, parsers, etc. HTML5 is intended to subsume not only HTML 4, but also XHTML 1 and DOM Level 2 HTML. HTML5 includes detailed processing models to encourage more interoperable implementations; it extends, improves and rationalizes the markup available for documents, and introduces markup and application programming interfaces (APIs) for complex web applications. For the same reasons, HTML5 is also a candidate for cross-platform mobile applications, because it includes features designed with low-powered devices in mind. Many new syntactic features are included. To natively include and handle multimedia and graphical content, the new <video>, <audio> and <canvas> elements were added, and support for scalable vector graphics (SVG) content and MathML for mathematical formulas. To enrich the semantic content of documents, new page structure elements such as <main>, <section>, <article>, <header>, <footer>, <aside>, <nav> and <figure>, are added. New attributes are introduced, some elements and attributes have been removed, and others such as <a>, <cite> and <menu> have been changed, redefined or standardized. The APIs and Document Object Model (DOM) are now fundamental parts of the HTML5 specification and HTML5 also better defines the processing for any invalid documents.
3rd Apr 2018, 12:22 AM
Favour
Favour - avatar
+ 6
There isn't too much of a drastic difference between them, given that they're both still the same language, but HTML5 is just a newer version of HTML which allows for the use of new tags while also getting rid of old ones. The only reason why HTML4 and below are separated from HTML5 in the course is because it's good to know how to use different versions of it as some web browsers may still not allow support for HTML5, leaving HTML4 your best option.
3rd Apr 2018, 12:14 AM
Faisal
Faisal - avatar
+ 6
Tanwir Ahmad hope you understood my answer?
4th Apr 2018, 1:35 PM
Favour
Favour - avatar
+ 5
Thanks everyone!
3rd Apr 2018, 1:11 AM
Т П
Т П - avatar