Get the App
SLTechnology News&Howtos  ›  Development  › 

Which two parts are included in the html structure?

Shulou Source: shulou.com Published: 2022-06-03 10:51:41 10月01日 Update

Html structure includes which two parts, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

The structure of html consists of two parts: head (Head) and main body (Body). The header section describes the various properties and information of the HTML document, including the title of the document, its location in the Web, and its relationship to other documents. The body part is used to place all the content in the web page, such as text, pictures, links, tables, forms and so on.

The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.

The structure of html consists of two parts: head (Head) and main body (Body).

The header (Head) section of the html document

The header of an html document describes a variety of attributes and information about the document, including the title of the document, its position in the Web, and its relationship to other documents.

The header elements are: elements, elements and elements.

The element is used to define the header of the document and is the container for all other header elements. The various attributes and information of the HTML document are defined in the element.

Elements are used to specify character sets, page descriptions, keywords, authors, and other metadata on a web page. Among them, metadata is mainly provided to browsers, search engines and other Web services to better rank web pages.

The element is the title used to define the document; it applies to all HTML or XHTML documents.

The element is used to style the HTML page, and the inline css style code is written inside the element.

Element is used to link an external css style sheet to a Web page.

Elements are used to define client script, such as JavaScript.

Element is used to specify the basic URL and basic goals for all relative URL in the page.

The body (Body) section of an html document

The Body section is used to place all the content in a web page, such as text, pictures, links, tables, forms, and so on.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Elements documents headers parts web pages bodies structures information content attributes titles styles pages locations pictures most that is data text forms Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Linux Shulou Technology NVidia MySQL