Detailed description tag

1 <!DOCTYPE>

Before you must be in the first line of HTML documents located in <html> tag

Instruct the web browser on pages that use the HTML version of written instructions

2:<title>

The browser will use a special way to the title, and it is usually placed on the browser window's title bar or status bar. Similarly, when a document is added to the list of users or links favorites or bookmarks list, the title will become the default name of the linked document.

<Title> tag supports the following standard attributes:

Attributes value description
to you
  • rtl
  • ltr
Provisions direction of the text element content.
only language_code It defines the language of the code element content.
xml: lang language_code It defines the language of the code XHTML document element content.
< HTML > 

< head > 
< title > My first HTML page </ title > 
</ head > 

< body > 
< the p- > body element content is displayed in the browser. </ The p- > 
< the p- > content of the title element will be displayed in the title bar of the browser. </ P > 
</ body > 

</ HTML >

 

Guess you like

Origin www.cnblogs.com/xpl520/p/11264361.html