Advertisement

Responsive Advertisement

What is HTML / HTML5 ?

What is HTML / HTML5?

What is HTML / HTML5?

HTML (Hypertext Markup Language) is the standard language used for creating web pages. It provides a way to structure content on the web, such as text, images, links, and more. HTML5 is the latest version, offering improved features for multimedia, web applications, and mobile support.

History of HTML

  • Late 1980s: Tim Berners-Lee, a scientist at CERN, proposed a system for managing information via hypertext. This idea eventually became the foundation for the World Wide Web.
  • 1991: The first version of HTML was released, allowing the creation of simple documents with text, links, and images.
  • HTML5: Released in 2014, HTML5 introduced modern features like native video support, new input types, local storage, and better accessibility.

Basic Syntax of HTML

                <!DOCTYPE html>
                <html>
                    <head>
                        <title>HTML Document</title>
                    </head>
                    <body>
                        <h1>Welcome to HTML</h1>
                        <p>HTML is a markup language used for creating web pages.</p>
                    </body>
                </html>
            

Key HTML Elements

  • DOCTYPE: Defines the document type and version of HTML used.
  • html: The root element of an HTML page.
  • head: Contains metadata, such as the title and link to CSS files.
  • title: Specifies the title of the page shown in the browser tab.
  • body: Contains the visible content of the web page.
  • h1: Defines the main heading on the page.
  • p: Defines a paragraph of text.

Post a Comment

0 Comments