When we surf the Internet, the Web site we see through our browsers is made up of HTML (Hypertext Markup Language) language. HTML (Hypertext Markup Language) is a language to create a Web page file, through tagged instructions (tag), the image, sound, pictures, text and other links to display. HTML tags, which are enclosed by < and >, are mainly divided into: Single mark instruction, double mark instruction (consisting of < start tag >,</end tag >). HTML Web page files can be edited by any text editor or Web page-specific editor, and when finished (saved with the. htm or. html file suffix), the HTML Web page file is opened by the browser, and if the test is not a problem, it can be placed on the server and released for external information. HTML File Basic schema <HTML> file Start <HEAD> Header Area Start <TITLE>...</TITLE> Title Area End of </HEAD> header area <BODY> This section begins Content of this article area </BODY> End of this section </HTML> End of document
<HTML> Web page file format. <HEAD> Header Area: Document basic information, such as author, writing time. <TITLE> Title area: The title of the file should be used in the header area, you can see the title on the top of the browser. <BODY> This article area: file information, that is, the Web site content seen in the browser. Attention matters Usually an HTML Web page file contains two parts: <HEAD>...</HEAD> header area, <BODY>...</BODY> this article area. The <HTML> and </HTML> represent the Web page file format. Accustomed to a website's first name is usually set as index.htm or index.html so as long as browsing the site, the browser will automatically find index.htm files. |