Here is what I share in HTML about images and tables, links and other knowledge:
① Image Label
Some common properties in the tag: 1,SRC is the path attribute of the image and is an essential attribute in the IMG tag.
2,alt is the text that represents the replacement image when the image display fails. 3,border is the image of the border 4,width is the width of the image 5,height is the height of the image (note, when using width or height, do not set two at the same time, otherwise it will distort the image, set a property is relative to the proportional reduction or magnification) 6,title is a reminder message
The ②<table></table> label is the table label format:
<table>
<tr>
<td></td>
</tr>
</table>
Related properties of <table></table>:
1,border table Border 2,width table width 3,bgcolor table background color 4,cellspacing cell spacing 5,cellpadding cell padding
<tr></tr> Table Row Labels
The relevant properties are:
1,height width, 2,align the horizontal position of the content in the table is Left|right|center 3,valign the vertical position of the content in the table is Top|middle|bottom (note that there is no width attribute in the HR tab)
<td></td> table cell Labels
About the properties:
1,width the width of each cell 2,height the height of the cell 3,colspan is a cross-column merge 4,rowspan is a cross-row merge 5,align is a horizontal position
③ Link Tags <a></a>
Properties are: 1,href link address 2,target link open way, there are two common (_blank is open in a new window this link, _self is open in this window)
④ Anchor Point
1, first to declare the anchor point: <a name= "anchor name" > Content </a>
2, then use anchor point: <a href= "#锚点名" > Content </a>
The above is the internal anchor point, the following is the external anchor point
<a href= "Path # anchor name" > Content </a>.
Knowledge about images and tables, links, etc. in HTML