Silicon Valley is still the basis of notes _HTML

@(table of Contents)

Basic HTML format

<html> /* html为根标签 */
    <head> /* head中的内容不会显示在网页上,是用来帮助浏览器解析页面的 */
            <title> /* title中的内容显示网页的标题,搜索引擎在检索页面时,会首先检索title标题中的内容,并影响排名 */
            </title>
    </head>
    <body> /* body中的内容是用来显示在网页上的 */
    </body>
</html>

/* 
    此外,将一个完整的标签称为元素,可以将元素和标签认为是一个同义词 
    <h1>一级标题</h1>
    上边的h1我们就称为元素
    <p>我是一个<em>段落</em></p>
    p也是一个元素,em是p的子元素,p是em的父元素。
*/

HTML comments

Here Insert Picture Description

Properties hashtag
Here Insert Picture Description
# document declaration
Here Insert Picture Description

Garbage problem

Here Insert Picture Description

Commonly used labels

Here Insert Picture Description
Baidu Encyclopedia label list

Entity (the escape character)

Here Insert Picture Description
HTML entity notation Reference Manual

Picture tags

Format Picture tab

Here Insert Picture Description

Src path in question

Here Insert Picture Description
About relative and absolute paths

Select a picture format

Here Insert Picture Description

meta tags

Here Insert Picture Description

XHTML syntax specification

Here Insert Picture Description

Jump between pages

Inline frames

Here Insert Picture Description
Results as shown:

Hyperlink

Here Insert Picture Description

Text labels

Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

List

Unordered list

Here Insert Picture Description

Ordered List & definition list

Here Insert Picture Description

Nested list

Here Insert Picture Description

Guess you like

Origin www.cnblogs.com/PursuingtheLight/p/11359735.html
Recommended