How to use HTML section tags 2

HTML paragraphs
HTML paragraphs are defined by <p> tags.

HTML links
HTML links are defined by <a> tags.
Note: Specify the link's address in the href attribute.


list-style-type:none//Remove dots. The navigation bar does not need list item marking

margin: 0px, the top, bottom, left, and right margins are 0

padding: 10px; meaning that the top, bottom, left, and right values ​​are all 10px

font-weight: normol(bold)//The font is normal (bold)

display:block - put Displaying a link as a block element makes the entire link area clickable (not just the text), while also allowing us to specify a width.

width:60px - Block elements take up the full available width by default. We need to specify a width of 60 pixels.

text-align: The center attribute specifies the horizontal alignment of the text in the element.

The padding:4px shorthand property sets all padding properties in one declaration.

text-decoration: overlay(none) text style, font overline (no underline)

text-transform://different text styles
h1 {text-transform:uppercase}
h2 {text-transform:capitalize}
p {text-transform :lowercase}

float:left// means to float to the left, such as multiple divs on a page, the default is: one div per line, but as long as float:left is used in the CSS of div, you can make a line have multiple divs, which can put The web page is divided into many blocks

a:link {color: #FF0000} /* status when not visited*/
a:visited {color: #00FF00} /* status when visited*/
a:hover {color: #FF00FF} /* The state when the mouse moves over the link*/
a:active {color: #0000FF} /* The state when the mouse is pressed down*/


The CSS style overflow:hidden is a commonly used CSS style, but most people don’t The understanding of this style is limited to the hidden overflow

term translation

    element : element.
    padding : padding, there is also information to translate it into padding.
    border : The border.
    margin : The outer margin, there are also sources to translate it as white space or margins.

<table> is the upper level tag of
<tr> <tr> must be in a <table></table>, it cannot be used alone, it is equivalent to the attribute tag of <table>.
<tr>...</tr> Definition A row of tags, multiple groups of cells defined by <td> or <th> tags can be created within a group of row tags.
<table> indicates a table, <tr> indicates a row in the middle of the table
<td>

Here is an example: (two rows and two columns)
<table>
<tr>
<td>www.ihuby.com</td>
<td>www.vvoov.com</td>
</tr>
</teble>
2

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326563878&siteId=291194637