HTML Tutorial Bismillah

Hyper Text Markup Language (HTML) is a standard markup language for creating & structure of a Web page. It has series of tag those are tell the browser how to display the content.


Basic Structure of an HTML

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Page Title</title>
    </head>
    <body>
        <h1>HTML Body Content</h1>
    </body>
</html>


Here

  • <!DOCTYPE html> : It declared that, this document is an HTML5 document

  • <html lang="en"> : It is the root element of an HTML page & the Language is English.

  • <head> : Here contains meta information about the HTML page.

  • <meta charset="UTF-8"> : Specify the character encoding for the HTML document

  • <title> : Title of the webpage, it will show into browser title bar.

  • <body> : Starting of the content definition area.

  • <h1> : Defines a large heading