Table of Contents

    What is HTML? Understanding HTML Basics

    What is HTML? Understanding HTML Basics

    HTML is the "mother tongue" of our browser.

    HTML is an acronym which stands for HyperText Markup Language. Let's see what is Hyper Text and what is Markup Language?

    Hyper Text: Hyper Text simply means "Text within Text". A text has a link within it, is a hypertext. Every time when you click on a word which brings you to a new web page, you have clicked on a hypertext.

    Markup language: A markup language is a programming language that is used make text more interactive and dynamic. It can turn a text into images, tables, links etc.

    An HTML document is made of many HTML tags and each HTML tag contains different content.

    HTML is the standard markup language for creating Web pages.

    • HTML stands for Hyper Text Markup Language
    • HTML describes the structure of Web pages using markup
    • HTML elements are the building blocks of HTML pages
    • HTML elements are represented by tags
    • HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
    • Browsers do not display the HTML tags, but use them to render the content of the page
    
    <!DOCTYPE>  
    <html>  
    <body>  
    <h1>Write Your First Heading</h1>  
    <p>Write Your First Paragraph.</p>  
    </body>  
    </html>
    

    Output

    First Page in HTML

    Example Explained

    The <!DOCTYPE html> declaration defines this document to be HTML5
    The <html> element is the root element of an HTML page
    The <body> element contains the visible page content
    The <h1> element defines a large heading
    The <p> element defines a paragraph

    Features of HTML

    1) It is a very easy and simple language. It can be easily understood and modified.

    2) It is very easy to make an effective presentation with HTML because it has a lot of formatting tags.

    3) It is a markup language so it provides a flexible way to design web pages along with the text.

    4) It facilitates programmers to add a link on the web pages (by HTML anchor tag), so it enhances the interest of browsing of the user.

    5) It is platform-independent because it can be displayed on any platform like Windows, Linux, and Macintosh etc.

    6) It facilitates the programmer to add Graphics, Videos, and Sound to the web pages which makes it more attractive and interactive.