Related Articles

Related Articles

HTML5 Complete Reference
  • Last Updated : 05 Nov, 2020

HTML stands for Hyper Text Markup Language. It is used to design web pages using a markup language. HTML is the combination of Hypertext and Markup language. Hypertext defines the link between the web pages. A markup language is used to define the text document within the tag which defines the structure of web pages.

HTML 5 is the fifth and current version of HTML. It has improved the markup available for documents and has introduced application programming interfaces(API) and Document Object Model(DOM).

The below examples illustrate the HTML 5 content.

Example:

filter_none

edit
close

play_arrow

link
brightness_4
code

<!DOCTYPE html> 
<html
  
<head
    <title>HTML 5 Demo</title
      
    <style
        .GFG { 
            font-size:40px; 
            font-weight:bold; 
            color:green; 
        
        body { 
            text-align:center; 
        
    </style
</head
  
<body
    <div class = "GFG">GeeksforGeeks</div
    <aside
        <div>A computer science portal for geeks</div
    </aside
</body
  
</html>                     

chevron_right


Output:



Features:

  • It has introduced new multimedia features that support audio and video controls by using <audio> and <video> tags.
  • There are new graphics elements including vector graphics and tags.
  • Enrich semantic content by including <header> <footer>, <article>, <section> and <figure> are added.
  • Drag and Drop- The user can grab an object and drag it further dropping it in a new location.
  • Geo-location services- It helps to locate the geographical location of a client.
  • Web storage facility which provides web application methods to store data on a web browser.
  • Uses the SQL database to store data offline.
  • Allows drawing various shapes like triangle, rectangle, circle, etc.
  • Capable of handling incorrect syntax.
  • Easy DOCTYPE declaration i.e. <!doctype html>
  • Easy character encoding i.e. <meta charset=”UTF-8″>

Complete Reference:

full-stack-img




My Personal Notes arrow_drop_up
Recommended Articles
Page :