Chapter two

 

Unordered List:
<ul>
<li>Content</li>
<li>Content</li>
</ul>

<ul> is the declaration of an unordered list, and <li> is the starting
type attribute of each list item:
disc (default): solid circle
square: solid square center
circle: hollow circle
* Features:
① No order, each < The li> tag is on a line by itself (block element)
②The default <li> tag has a dot in front of it

Ordered List:
<ol>
<li>Content</li>
<li>Content</li>
</ol>

<ol> is the declaration of an ordered list, and <li> is the starting
type attribute of each list item:
1: number bullet
A/a: upper and lower case letter bullet
I/i: upper and lower case Roman numeral bullet
*property :
①In order, each <li> tag has its own line (block element)
②The default <li> tag is preceded by a mark


Definition list:
<dl>
<dt>entry</dt>
<dd>content</dd>

</dl>
<dl> is the declaration of the definition list, <dt> is the entry, <dd> is the content
* attribute :
①In order, each label has its own line (block element)
②No markup by default

 

Table:
<table>
<tr>
<td></td>
</tr>
</table>
<table> is the table tag, <tr> is the row tag, <td> is the cell
border is the thickness of the border
colspan is Cross-column
rowspan is cross -row
align centering


Unit table alignment method
align (horizontal alignment method):
left left alignment
center alignment
right right alignment

valign (vertical alignment method):
top: top alignment
middle central alignment
bottom bottom alignment
baseline alignment

 

Frame:
<frameset>
<frame src>
</frameset>
<frameset> is the division, <frame> is the placement position
<frameset> cols is the horizontal division of several columns, rows is the vertical division of several rows
The src attribute of the <frame> tag is similar in the src attribute of the <img> tag

 

<frame> Common attributes of the frame:
frameborder Whether to display the border around the frame frameborder="1"
name frame identification name name-""
scrolling Whether to display the scroll wheel scrolling="no"
noresize Whether to allow the frame window to be resized noresize="noresize"


iframe
<iframe src = "location" >

Common attributes of the inline frame:
name: the name of
the iframe scrolling: whether to display the scroll bar in the iframe.
noresize
frameborder


Media elements in HTML5:
Format:
mp4: MP4 format
webm: Web page video format
Syntax:
<video controls="controls">
<source src="">
<video>
*controls: attributes provide buttons such as play, pause, etc.


Audio element:
syntax
<audio>
<source src="path" type="audio type" />
</audio>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325241334&siteId=291194637