Xpress front-end record --------- HTML5 + CSS Series 2.0

Hyperlinks applications:

grammar: 

  <a href="连接地址" title="提示信息" target= "Zhu Xingzhi"> link text / picture </a>

Attribute (name): target: page Open

Default property values: _self . I current window

Property values: _blank  new window opens 

<a href="#">空链接</a> 

 

HTML markup syntax is

1, double labeling :

<Tag (label) an attribute name = "Attribute 1 value" attribute 2 = "attribute value 2" ............> </ tag name>

2, a single tag : <tag attribute name = 1 "the value of the attribute 1" />

There are two forms of labeling, we are called single-labeled and double labeling , or called empty tags and ordinary mark; 

Commonly used tags

div usage

<div></div>

span of usage

<span></span>

Text nodes (a short text, a word or a)

 

Table structure

Form the role and composition

Role: display data

composition:

<table>

<tr>

   <td></td>

   <td></td>

</tr>

</table>

Note: a pair tr represents a row, sideways ; one pair td represents a cell (a), vertically down

* The basic form of property                  

width = " table width "

height = " table height "

border = " table borders ."

bordercolor = border color of the table . "

bgcolor = " Table background color "

cellspacing = " spacing between the cells and the cells '

cellpadding = " gap between the cell and the content "

align = " form the horizontal alignment"      

  Value: left , right , Center ,

  Main vertical alignment of formula : valign = "top / middle / bottom";

The combined cell properties:

  The combined line: rowspan = "number of rows of cells to be merged ."

  Merged column: colspan = "the number of columns to be merged cell"

 

Guess you like

Origin www.cnblogs.com/hudunyu/p/11409865.html