HTML Common Tags

A Label (11.1)

  • The url
  1. baidu.com
  2. baidu.com
  3. // Baidu.com /baidu.com
  • The path
  1. / a/b/c: the difference between a and a/b/c/a is the root directory of the current HTTP service, if not open but double-click to open with the server. The HTML file will find files; A is to find the file in the current directory
  2. Index.html is no different from./index.html
  • Pseudo agreement
  1. javascript: ;
  2. Id # (id)
  3. Mailto: Indicates the email address
  4. Tel: mobile phone number
  • target
  1. _blank New empty website
  2. _top Top site
  3. _self Current site
  4. _praent Parent site

Table Label (11.2)

Thead header

The tbody table body

The bottom of the tfoot table

Tr form a newline

Th table title

Td table data


Img Tag (11.3)

  • Properties:

alt/weight/height/src

  • The event

onload/onerror

  • responsive

Width :100% max-width:100%


Small note:

  • table{

border-collapse:collapse;

border-spacing:0;

}

I can merge the tables and make them look nice

  • Input and button

You can add other labels and styles to a button, not input