Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML is what it is to get to know HTML


Jun 01, 2021 Article blog


Table of contents


When it comes to HTML, some beginners may wonder what HTML is, and today I'll put together an article to show you what HTML is.

HTML is what it is

HTML is a language whose full name is Hyper Text Markup Language Chinese named Hypertext Link Marking Language. H TML is not a programming language, but a markup language that is necessary for web page production. Hypertext means more than just text, it can also contain non-text elements such as pictures, links, music, and even programs.

Essentially, HTML is the same language we use for everyday communication, except that HTML is the language of communication between people and browsers. When we want to create a web page, we can use HTML with "CSS" and "JavaScript" to do so.

HTML structure

Standard hypertext markup language files all have a basic overall structure, and markers generally appear in pairs (except for partial tags such <br/> i.e. the beginning and end of the hypertext marker language file and the head and body of the hypertext marker language. There are three double markers for confirmation of the overall structure of the page.

The marker <html> indicating that the file is described in hypertext markup language (the full name of the Chinese of this label), which is the beginning of the file; </html> represents the end of the file, which is the start and end tags of the hypertext markup language file.

Head content <head> </head> the two markers represent the beginning and end of the header information, respectively. The tags contained in the header are the title, preamble, description, and so on of the page, which itself is not displayed as content, but affects the effect of the page display.

Subject content <body> actual content displayed in the body > </body> pages are contained between the two body markers. Body markers are also known as entity tags.

Let me demonstrate this in code:

    <html>                                                         <!--Html 开始标示-->
        <head>                                                     <!--Html 头部开始标示-->
            <title>w3cschool 在线教程(www.w3cschool.cn)</title>     <!--设置网页标题-->
        </head>                                                    <!--头部结束标示-->
        <body>                                                     <!--主体开始标示-->
            <p>欢迎来到编程狮学习</p>                                <!--放置(欢迎来到编程狮学习)文本-->
        </body>                                                    <!--主体结束标示-->
    </html>                                                        <!--Html结束标示-->

<!--...--> Of These Are CommentS. T hese are my introductions about what HTML is, and I hope it will help you. If you are interested in the HTML, CSS, JavaScript mentioned in this article, you can learn at the following address.