What is html?

#basic understanding

HTML representation of the HTML (Hyper Text Markup Language).
HTML file is a text file that contains the tag.
How do these marks ensure fast browser displays the page.
HTML file must have the extension htm or html.
HTML file can use a simple text editor to create.

 

# For chestnuts try

If you are running the windows system, open Notepad, in which to enter the following text:
<HTML>
<head>
<title> the Title of Page </ title>
</ head>
<body>
This IS My First Homepage.
  <B> Bold text iS the this </ b>
</ body>
</ HTML>
save this file as "mypage.htm".

 

Start your browser. In the File menu select "Open" (or "Open Page"), then a dialog box will appear. Select "Browse" (or "Choose File"), navigate to the HTML file you just created - "mypage.htm", select it and click "Open." Then in the dialog box, you will see the address of the file, for example: "C: \ MyDocuments \ mypage.htm". Click "OK" and the browser will display the page.

 

 

# Interpretation of the contents of the file html

 HTML document,

The first tag is a <html>. This tag tells the browser that this is the beginning of an HTML document. Finally, a label HTML document is </ html>, this tag tells the browser which is the termination of an HTML document.

Between the <head> and </ head> tag is the text header. In the browser window, the header information is not displayed. Text between the <title> and </ title> tags is the title of the document, it is displayed in the title bar of the browser window.

Text between the <body> and </ body> tag is the text will be displayed in the browser. Text between <b> and </ b> tag is in bold font.

 

 

From here, sticky #

https://jingyan.baidu.com/article/358570f6a0e7e1ce4724fc1d.html

 

 

 

Guess you like

Origin www.cnblogs.com/baxianhua/p/11842041.html