Category: 3. HTML 5
-
HTML5 Migration
On this page, we’ll show how you can migrate from HTML4 to HTML5. Let’s learn it step by step.In HTML4, we used id and class attributes which are now replaced with new elements in HTML5: The steps described below can also be taken for migrating from XHTML to HTML5. Step 1: Changing the Doctype We change the HTML4 doctype…
-
HTML5 Browser Support
All the modern browsers support HTML5, automatically handling the unknown elements as inline elements. furthermore, it’s possible to “teach” the older browsers to handle such kinds of elements. Semantic Elements as Block Elements HTML5 specifies eight new semantic elements, and all of them are block-level elements. Here they are: HTML <header> tag HTML <section> tag HTML <footer>…
-
Audio and Video in HTML5
Earlier, native web technologies such as HTML didn’t allow embedding video and audio on the Web. Plugin-based technologies became popular for handling such content, but they had many problems, including not working well with HTML/CSS features, security and accessibility issues. Later, HTML5 specification introduced such features with the <video> and <audio> elements. The <audio> element is used to embed audio files to a web…
-
Semantic Elements in HTML5
Semantic elements are one of the most significant introductions in HTML5. In the previous versions of HTML, the generic <div> tag with an id or class attribute was used for structuring a web page. For example, for defining sidebars, footers, menu or other structural blocks, the <div> tag was used with the corresponding meaning (div class=”footer”). Semantic elements in HTML have…
-
HTML5 Elements Reference
HTML5 is a set of technologies for building more diverse and powerful web sites and applications, which support multimedia, interact with software interfaces, structure documents, etc. Here you can find the complete list of the new elements in HTML5. New Structural/Semantic Elements Elements Description <article> Defines an independent, self-contained content. <aside> Defines a section with additional…
-
HTML5 Introduction
HTML5 is not only a new version of HTML language enriched with new elements and attributes, but a set of technologies for building more powerful and diverse web sites and applications, that support multimedia, interact with software interfaces, etc. HTML5 Benefits The main benefits of HTML5 are listed below: HTML5 is supported by all modern browsers. HTML5…