Home >Web Front-end >HTML Tutorial >Detailed introduction to other common tags in HTML
1. b2386ffb911b14667cb8f0f91ea547a7: Specify the content displayed in the title bar of the browser.
2. dde6fb694e6711ae5e6f381704c04ae4:
href Attribute: Specify the directory of all hyperlinks in the web page. It can be a local directory or a network directory. Note that the directory must be represented by / at the end. Only works on hyperlinked files with relative paths.
target attribute: Specifies how to open a hyperlink. For example, _blank means that all hyperlinks are opened and displayed in new windows.
3. e8e496c15ba93d81f6ea4fe5f55a2244:
name attribute: Description information of the web page. When keywords is taken, the content of the content attribute is searched as the keyword of the search engine.
http-equiv attribute: simulates the response header of the HTTP protocol.
Example:
<meta http-equiv="refresh" content="3;url=http://www.sina.com.cn" />
means that you will automatically be redirected to the Sina page after 3 seconds of opening this page.
4. 2cdf5bf648cf2f33323966d7f58a7f3f:
rel attribute: describes the relationship between the target document and the current document.
type attribute: document type.
media: Specifies which device the target document will work on.
Example:
<link rel="stylesheet" type="text/css" media="screen,print" href="a.css" />
ed126914ed1419bab26abf7cf307b7b9 Let the content Get moving.
direction Attribute: left right down up
behavior Attribute: scroll alternate slide
< ;pre>: The text content can be displayed on the page as it appears in the code area.
1 46e2f0ef43f1f527c3c3047ec59afddc 2 100db36a723c770d327fc0aef2ce13b1 3 93f0f5c25f18dab9d176bd4f6de5d30e 4 92973225f54535f088f723f57eaef684 5 b2386ffb911b14667cb8f0f91ea547a7Untitled Document6e916e0f7d1e588d4f442bf645aedb2f 6 9c3bca370b5104690d9ef395f2c5f8d1 7 6c04bd5ca3fcae76e30b72ad730ca86d 8 e388a4556c0f65e1904146cc1a846bee这是一个p区域194b3e26ee717c64999d7867364b1b4a3 9 e388a4556c0f65e1904146cc1a846bee这是一个p区域294b3e26ee717c64999d7867364b1b4a3 10 45a2772a6b6107b401db3c9b82c049c2span区域154bdf357c58b8a65c66d7c19c8e4d114 11 45a2772a6b6107b401db3c9b82c049c2span区域254bdf357c58b8a65c66d7c19c8e4d114 12 e388a4556c0f65e1904146cc1a846bee这是一个段落194b3e26ee717c64999d7867364b1b4a3 13 e388a4556c0f65e1904146cc1a846bee这是一个段落294b3e26ee717c64999d7867364b1b4a3 14 15 7c31df241bfde9975f74afe1b2ae23ca 20 5c69336ffbc20d23018e48b396cdd57a 21 73de882deff7a050a357292d0a1fca94dddddc72c1af5e0e7f90179c047c5ef85885e 22 67bc4f89d416b0b8236eaa5f43dee742eeeee82e295699cff932a4d4dabba39074c35 23 cd324b2387ec29e44e8e788c60648872 24 hahahahh 25 36cc49f0c466276486e50c850b7e4956 26 73a6ac4ed44ffec12cee46588e518a5e
p has no direct meaning, it just encapsulates data and can be operated using other languages defined by us. Usually p+css.
sapn is also such a tag, except that the span tag is an inline tag and p is a block-level tag.
p is a paragraph tag, not only line breaks, but also blank lines before and after.
In layman’s terms: Configuration file.
XHTML is Extensible HyperText Markup Language (Extensible HyperText MarkupLanguage).
l XHTML was launched by the w3c organization in 2000 to enhance HTML. It was originally intended to replace HTML, but it was found that there were too many web pages written in HTML on the Internet, so it failed! It can be understood that it is an upgraded version of HTML (HTML4.01). l XHTML has a more rigorous code structure and is an application based on XML. XML is Extensible Markup Language (Extensible Markup Language)l XML is a description of data information. HTML is the description of the data display. l XML code regulations are more strict. For example, if the tag does not end, it is considered an error. l The XML specification can be interpreted by more applications and will become a universal data exchange language. Each server andframework use XML as a configuration file.
The above is the detailed content of Detailed introduction to other common tags in HTML. For more information, please follow other related articles on the PHP Chinese website!