NextJS

The word hypertext markup language comprises the words “hypertext” and “markup language”. The term "hypertext" refers to the linking of text with other documents and “markup language” refers to a language that uses a set of tags. So, HTML is the linking of text with other documents using some set of tags.

HTML

1) HTML is an initialism for "HyperText Markup Language".
2) It is the language of the web.
3) It is used to create websites.
4) It is used to define a page layout, meaning it is a barebone page structure.
5) HTML is used for making pages of the website also called webpages that we see on the internet
6) It consists of a set of tags.
7) This set of tags is interpreted by web browsers.
8) This set of tags is written in HTML Document.
9) It is case-insensitive.
10) ".html" or ".htm" is the extension.
11) There are so many versions of HTML but HTML5 is the latest version.

  1. starter template
    starter template

    NOTE: These are the five must-use tags for HTML <!DOCTYPE html>, <html>, <head>, <title>, <body>

    The <!DOCTYPE> declaration tag is used by the web browser to understand the version of the HTML used in the document. The current version is 5 i.e. HTML 5.

    The <html> tag is the root of an HTML page.
    The </html> tag is closing of <html> tag. Every HTML page needs at least these 8 lines to define a layout of a page.

    The <head> tag contains page metadata.
    The </head> tag is closing of <head> tag.

    The <title> tag contains the title of a page and is shown in the browser title bar.

    <body> tag is the main tag of HTML. It contains the main body of the page and is shown in the white part of the browser.
    The </body> tag is closing of <body> tag.
                    
                        <!DOCTYPE html>
                        <html lang="en">
                        <head>
                            <meta charset="UTF-8">
                            <meta http-equiv="X-UA-Compatible" content="IE=edge">
                            <meta name="viewport" content="width=device-width, initial-scale=1.0">
                            <title>Document</title>
                        </head>
                        <body>
                            
                        </body>
                        </html>
                    
                
  2. Heading tags

                    
                        <h1>
                        //heading content
                        </h1>
                
                

                                            <h2>
                                    //heading content
                                    </h2>
                                

                                         <h3>
                                    //heading content
                                    </h3>
                                

                                           <h4>
                                    //heading content
                                    </h4>
                                

                                               <h5>
                //heading content
                </h5>
            

                                                <h6>
                                            //heading content
                                            </h6>