What is HTML/CSS bundle?
Lorem ipsum dolor sit amet, metus at rhoncus dapibus, habitasse vitae cubilia odio sed. Mauris pellentesque eget lorem malesuada wisi nec, nullam mus. Mauris vel mauris. Orci fusce ipsum faucibus scelerisque.
Buy Now!Fatures of HTML 5
What is HTML5?
As the name suggests, HTML5 is the 5th version of HTML (Hypertext Markup Language). It is an upgraded version of HTML4.01. HTML5 comes with a variety of new and advanced features that make the life of developers more flexible.
Top 10 HTML5
Features
The following are the top 10 features of HTML5 that make it a popular language for website development.
1. Nav Tag
The <nav> tag helps in defining a set of navigation links. It helps create a section of a website that contains navigation links (within the current document or to another document). A few examples of navigation links are the table of contents and indexes.
Example of Nav Tag
<!DOCTYPE html> <html> <body> <h1>Example of HTML nav Tag</h1> <h2>Online Programming Courses</h2> <nav> <a href="#">HTML</a> | <a href="#">CSS</a> | <a href="#">JavaScript</a> | <a href="#">Python</a> </nav> </body> </html>
Output:

2. Audio & Video Tags
With Audio and Video tags, developers can embed videos or audio into their websites. For styling the video tag, developers can use CSS and CSS3.
Example of the video tag in HTML
<!DOCTYPE html> <html> <body> <video width="400px" height="300px" controls> <source src=" movie.mp4 " type="video/mp4"> </video> </body> </html>
In the above HTML code:
- width and height are for setting the dimensions for the video element
- controls attribute creates buttons for playback (Play, Pause, etc.)
- src (source) tag provides the URL or media source
- type represents the video type
Output: