Home > front end >  Began to HTML
Began to HTML

Time:10-11

1. The img
Label images show not to come out with Alt attribute, the mouse on the word hint is title images with wide high don't write directly behind the px unit,
2. A link

Download link file suffix changed. Exe or zip suffix. Download zip format & lt; A> Img. Zip

3. The anchor link
Anchor links: point, click the link we can quickly locate to a location in a web page.
In the href attribute of the link text, set attribute value to # name, in the form of such as & lt; A href - "# two" & gt; 2 sets & lt;/a>
Find the target location tags, add an id attribute=just name, such as: & lt; H3 id="two" & gt; 2 sets is introduced & lt;/h3 & gt;
Note: if you want to click back and you just need to transform the href attribute and the id attribute,
4. Special characters
& nbsp; Space
& Copy; The copyright symbol
& lt; & gt;> Greater than
5. Table
The table & gt;





Table represents the form of an area, the tr is a line, td is a grid doesn't mean column
Form the border width generally higher made by CSS
. & lt; Thead> : used to define the form beauty, & lt; Thead> Internal must use & lt; tr> Brown. Are generally located in the first row, 2. & lt; Tbody> : to Yi form the main body, is mainly used for data ontology. 3. The above tags are placed on & lt; Table> Tag
Merge cells
Merge cells:
An inter-bank mergers: rowspan="merge cells number"
Note: the up and down the merger
Across the columns: colspan="merge cells number"
Note: about merger
6. List
Unordered list




An ordered list




7. The form
The text box
The text text box
Radio radio button
Submit a submit button
The checkbox checkbox
The name and the value attribute values each form elements have used mainly for the background. 2. The name form element name request radio button and check box to have the same name value
Radio radio checkbox checkbox
Radio buttons is round can only choose one, check box is a small square can choose more
Go to school today here, tomorrow continue to

CodePudding user response:

'
  • Related