A working knowledge of HTML point

HTML knowledge

HTML knowledge

1) page document declaration:! DOCTYPE

2) the maximum web structural tags: html lang = 'language'

3) Basic information stored page: head
------------------------------- 1. Character Set (coding format): meta charset = 'utf-8, gbk ...' 2. title set pages: title
------------------------------ - 3. set pages search keywords: meta name = 'keyword' content = ' keyword' 4. set the page description: meta name = 'description content = ' description '

4) main page content: body

5) Title Tag: h1 --- h6

6) horizontal Tags: hr

7) Wrap Tags: br

8) paragraph tag: p id = ''

9) text formatting tags: bold 1. Tags: Tags B or strong 2. italic: em 3. I or strikethrough tags: S label or delete 4. underlined: U or ins

10) page divided region Tags: div

11) wrapped independent label text: span

12) Image tags: img src = 'Image Address' alt = 'description' title = 'Description text'

13) hypertext link tags: a href = 'hypertext references to' 'pop-up mode of the target window' target = (_blank: a new window pops up, _self current window pops up) Link Tips name

14) Anchor Position: 1 Set id; 2 using a href = 'id name' Location name.

15) Set the default target window pop-up manner: base target in the head = '_ blank'

 

Guess you like

Origin www.cnblogs.com/-slz-2/p/11295665.html