Ace Your Web Dev Journey with HTML 5 - Startxlabs | Web Development | App Development | Digital Solution

Ace Your Web Dev Journey with HTML 5

3 Aug 2022

Web Development in general refers to developing a website for the internet. Web Developers are mainly divided into two- Front End Developers and Back End Developers. Back-end developers focus on data, modeling, and the backend of the website. They have sound knowledge of programming languages like java, C++, Python, database management, security, framework utilization, etc. Whereas a front-end developer helps build what users interact with and can see i.e. working on features like design, interactive buttons, navigations, and in general anything which enhances the viewability and usability of any website. A front-end developer works on HTML, Javascript, and CSS. And then comes Full Stack developer who can work with both front end and back end.


But Today in this blog, w uhu e are going to primarily focus on the front-end part and that too on The Advanced Features of HTML5. In our next blog, we will read more about CSS3


What is HTML5?

The preferred and the most popular markup language for documents intended to be viewed in a web browser is HTML or HyperText Markup Language. The web is growing on a daily basis and hence knowing HTML is more crucial than ever. It is used for creating web pages and web applications. HTML5 is the 5th version of HTML. With the advanced features of HTML5, it’s not only possible to create better websites, but we can also create dynamic responsive websites. It is used for structuring and displaying content for the World Wide Web.

HTML5 is introduced with new features and is developed to meet the growing demands presented by today’s mediacross-device and mobile internet needs. Because many of its features have been adjusted for access on low-powered devices, like Tablets and Smartphones, we can state that it is an excellent tool for cross-platform mobile app development. HTML5 also offers a common interface to make loading components simpler. For example, HTML5 doesn’t require a Flash plugin because the element will run by itself and is supported by the latest web browsers on PCs and tablets. Well, one of the design objectives for HTML5 is to provide support for multimedia on different mobile devices. To support various tags like audio, video, and canvas. some new syntactic features were added.

HTML 5 was released in 2014 and it was not only a historic year for web designers, UI developers, and web developers but also for the entire world. 

New features of HTML5 revolutionized the gadgets industry hugely especially smart devices like phones and televisions.

Here we have some most useful and popular HTML5 features to explore :

Video and audio are the new tags that allow to embed a video in the website.HTML5 video can use CSS and CSS3 to style the video tag. One can change the border, opacity, reflections, gradients, transitions, transformations, and even animations. With HTML5, adding video may be done quickly and without needing to create a video player. This gives the developer time savings and gives the client a better, more cost-effective solution. By providing the code to embed their videos, YouTube also announces video embed. It helps the web to be more involved with multimedia. An audio tag is used to embed any audio on the web.

Example of using the Video tag

<video controls preload>

    <source src=“” type=“video/Ogg” />

    <source src=”” type=“video/mp4” />

    <p> Your browser is old. Please try in the latest browser.</p>


Example of Video in HTML

Video output would be something like this

Note: HTML5 supports only .mp4 and .ogv videos.


Example of using Audio tag

<audio autoplay=“autoplay” controls=“controls”>

    <source src=“file.ogg” />

    <source src=“file.mp3” />

    <p>Your browser doesn’t support this feature.</p>


  1. SVG

In HTML 5, the SVG element is used for scalable vector graphics. By using the SVG tag, you may animate any shape, like a circle, square, or rectangle, among others.

<svg width=“100” height=“100”>

  <circle cx=“50” cy=“50” r=“40” stroke=“green” stroke-width=“4” fill=“yellow” />


  1. Semantic tags in HTML5

 Semantic tag collection is the most anticipated one in HTML. Making websites and apps that are user- and search engine-friendly requires the usage of semantic tags. In the past, web page developers would only create columns, rows, and new sections using the div tag. DIV doesn’t give search engines any information about the page or its content, whereas semantic tags do.

Pic 1 – Semantic Layout Structure

The creation of accessible web pages was aided by semantic tags. Accessible sites are created in such a way that they are prepared, planned, and designed suitably for people with disabilities.

4. Header and Footer:

With the new <header> and <footer> tags, there is no longer a need to identify the two elements with a <div> tag.The header is put at the top of the web page and the footer is placed at the bottom. By using <header> and <footer> HTML5 elements, the browser will know what to load first and what to load later. 

The header can contain one or more heading elements (<h1> – <h6>), a Logo or icon, or any authorship information.

The Footer can contain Authorship information, Copyright information, Contact information, Back to top links, etc.


Layout of HTML vs HTML5

Example: Below examples illustrate the <header> element in HTML:



<!DOCTYPE html> 



        <title>Header Tag</title





                <h1>This is the heading.</h1

                <h4>This is the sub-heading.</h4


<p>This is the metadata.</p>








  <img src=“company-logo.png”>


    <p><a href=“Servicee.html”>Log In</a></p>

    <p><a href=“Our Work.html”>Sign Up</a></p>

    <p><a href=“Resources.html”>Contact Us</a></p>

    <p><a href=“Contact us.html”>Contact Us</a></p>







Example: Below examples illustrate the <footer> Tag in HTML elements:


<!DOCTYPE html> 



        <title>HTML footer Tag</title


            a { 




            p { 










                    <a href>About Us</a>| 

                    <a href>Privacy Policy</a>| 

                    <a href>Careers</a





<p>@abc, Some rights reserved</p>






Just for example

@abc, Some rights reserved




  <img src=“company-logo.png”>


    <p><a href=“Servicee.html”>Log In</a></p>

    <p><a href=“Our Work.html”>Sign Up</a></p>

    <p><a href=“Resources.html”>Contact Us</a></p>

    <p><a href=“Contact us.html”>Contact Us</a></p>





  <p>Posted by: Hege Refsnes</p>

  <p>Contact information: <a href=“mailto:[email protected]>

  [email protected]</a>.</p>





  1. article

The article> tag designates information that is autonomous and self-contained. An article should be comprehensible on its own and be able to be distributed apart from the rest of the website.






  1. nav 


A section featuring navigation links, either within the current content or to another document, is denoted by the HTML tag “nav”. Menus, tables of contents, and indexes are a few examples of navigation links. The nav> tag is a recent addition to HTML5. Only the most important blocks of navigation links are allowed.


<a href=”/C++/”>C++</a>

  <a href=”/JAVA/”>JAVA</a>

  <a href=”/js/”>JavaScript</a>

  <a href=”/jquery/”>jQuery</a>


7. Section

A document’s sections are specified using the HTML “section” tag. The use of the HTML < section> tag is necessary because when the material is placed on a web page, it may include numerous chapters, headers, footers, or other parts.





<p>Hope you enjoy these articles on some of the 

popular cities in the world.</p>



<p>The capital and largest city of the UK is London, which is also home to a number of top-notch museums and tourist destinations, including the London Eye, the London Bridge, the British Museum, and others. London is the second most visited city in the world, with 19.83 million people visiting it annually.</p>




<p>The city of Paris is among the most visited in the world and is arguably the most well-known. In 2018, Paris welcomed about 17.44 million travelers. The Arc de Triomphe, the Champs-Élysées, and the Eiffel Tower are a few of Paris’ most well-known tourist destinations.</p>




8. Aside

The aside> element is utilized to highlight or briefly discuss the main object of the web page. It essentially identifies the information that is pertinent to the main page’s content but does not directly advance its purpose. The <aside> tag primarily provides author details, links, relevant content, etc.

<p>I along with my friend visited Shimla this winter. The weather was nice, and Shimla was amazing! I had a great winter and saw amazing Snowfall. </p>




<p>Shimla tourism encompasses a complete experience, where entertainment, culture, and sights like British architecture reminiscent of the colonial era, temples, and palaces could be spotted interspersed on its landscape.</p>



  1. main

The tag <main> is used to hold the page’s unique content and is used to contain the page’s main content. It is not acceptable to use more than one main tag in a document, and this tag cannot be contained inside of any article, aside, the footer, or header tags. It excludes the header, footer, and navigation bar.


  1. Figure and figcaption

Earlier, there was no option to include a figure and a caption for it. However, it is now semantically possible to embed an image in a page with its caption thanks to the introduction of the figure and fig caption.


    <img src=”startxlabs.jpg” alt=”Startxlabs” />


        <p>This is the logo of our organisation</p>




Here are a few more newly introduced tags for making websites responsive and dynamic-

  1. Address 

The contact information for the creator/owner of a document or article is defined via the <address> tag. Contact details may include an email address, website, street location, telephone number, social media account, etc.



Written by <a href=”[email protected]“>Prachi Rikhari</a>.<br>

Visit us at:<br><br>

gurgaon <br>



  1. Different types of input tags

A  form input control is represented in an HTML page via the HTML <input> tag. With the help of this form input control, users can enter data and interact with a website or application. Consider an HTML form with three input fields, two text fields, and one submission button.

  1.  Placeholder Attribute-The placeholder attribute provides a brief description of the intended value of a text box or input field. Prior to the user entering a value, the field shows the brief hint.

Syntax-: <input type=”email”>


  1. Some Commonly used HTML APIs:

1.)Canvas API

HTML’s canvas tag is a brand-new addition in HTML5. It is utilised to quickly draw the graphics. It can be applied to game graphics, rendering graphs, and visual images.

2.)Geolocation API

Obtaining a user’s geographic location requires the HTML Geolocation API. Using this API, user’s latitude and longitude can be found.

3.) Drag/drop API

Applications can use browser drag-and-drop functionality with HTML Drag and Drop interfaces.


14.Most Popular HTML5 Responsive Design Framework: Bootstrap

Bootstrap, created by programmers at Twitter, has now become the forefather of frameworks for responsive web design. It is used to build complicated web applications and responsive mobile-first websites that work on all sizes of devices. Before being made freely available as an open source framework, Bootstrap was originally developed by the designers and developers at Twitter and utilised as the Twitter Blueprint. Bootstrap is created and maintained at Github, and its incredible community keeps it current with the best in web design by releasing frequent updates.

The Sass & Less CSS preprocessors, numerous unique HTML and CSS elements, jQuery plugins, and many more features are supported by Bootstrap.

The field Web designing and development is a science and an art that depends on the designers’ ingenuity as well as the most recent developments in tools and technology. Without proper tools, libraries, and frameworks, a creative designer may not succeed successfully or may not generate items that are in demand in the market. Hence, The framework should be carefully chosen after thorough research as it plays a significant part in the complete web design workflow. The HTML5 frameworks covered in this blog guarantee the use of cutting-edge web design techniques and make responsive web creation simple.


Since HTML is more interesting when combined with CSS, it is recommended to learn HTML and CSS together. CSS3 is easy to learn, and if you want more control over the appearance of your website, it is a must. Along with HTML, CSS3 works beautifully for building modern and high-end web pages and websites, and then for adding dynamic functionality to web pages,

Read and refer to our blog “Features and Advantages of Cascading Style Sheets (CSS 3)” to learn more about CSS 3.

Author: Akash Upadhyay

Share this blog