Share EncyclopediaHome EncyclopediaCategories Switch Channel

HTML common tags for HTML basis

2026-02-04 15:09720NameNetworking

C. A label defines a hyperlink and specifies a jump between pages. The link can point to the external link or the internal id anchor of the page and can be opened on the current page with a new window。

D. Multimedia labels

Img labels insert images mainly in the web page, and you can define the image replacement text, display width and height, whether or not you have a border, suggest a scale setting, etc., otherwise the image will be deformed。

Photo address "alt=" replaces text and displays "/" when the picture cannot be opened

Audio labels define sound, such as music or other audio streams. New label for HTML5。

Your browser does not support the audio tab。

Video labels define videos, such as film clips or other video streams. New label for HTML5。

Your browser does not support video tags。

E. Sequenced labels

Ul and li without serial tags

Ol and li orderly list labels specify the type of orderly list symbol using type properties. 1 in numerical order, the default values (1, 2, 3, 4);a in lowercase alphabetical order (a, b, c, d); a in upper alphabetical order (a, b, c, d). I ordered in lower roman letters, (i, ii, iii, iv); i orderd in lower roman letters, (i, ii, iii, iv)。

HTML

Js

Php

The dl label defines the definition list (definition list), the dl label is used to combine the dt (defining items in the list) and the dd (description items in the list)。

Computer

The instrument used to calculate...

F. Table labels

Table and tr labels, th labels and td labels, merge cells。

Title

Title

G. Form labels

Form labels define how to submit, the address to submit, the charset of forms and how to encode them, and the forms that need to be submitted must be placed in the form label。

Input tags for user information

Password, the characters entered will be masked (show as an asterisk or origin)

Form of file type, form form must be set to enctype= "multipart/form-data" when uploading file

Hide forms

Submit

Reset

Radio single

Checkbox

Php

Frontend

Database

Note: checked = "checked" in short

Label labels define the label for input elements, and if you click on the input text, you trigger this input control。

TExtarea tag, setting visible rows and width in text area

Button tag defines a button

Submit button

Submit

Reset button

Reset

List of bottom and option tabs

Single menu list box

Multiple-click the list below the box, shift the mouse, and you can select multiple options in succession, ctrl+ mouse click and click more than one。

Note: selected = "selected" in simplified form

3. Other HTML matters

A. HTML tags and properties are not case-sensitive. It is recommended that all HTML tags and attributes be lowercased and that attribute values be surrounded by two quotation marks。

B. HTML labels start with the initial label to end the label. Most HTML labels appear in pairs and are called double labels, such as p-labels, div labels, and some HTML labels end in the initial labels, called single labels, such as r-labels, br-labels. Most HTML elements have properties, and text contents are written between the start and end labels。

C. Indents and rows between HTML labels to the extent possible, and not too long for each line to facilitate reading and maintenance。

D. The use of HTML labels must conform to the label nesting rules. Disables a label embedding a label, p label embedding div labels。

E. Suggest not to use labels that are obsolete or not in favour of HTML, less to use table layout, ifRame frame nesting and flash player。

To be reproduced, please indicate the origin and source of the article at http://www. Divcss5. Com/HTML/h50219. SHTML

Like 0
Report
Favorite 0
Tip 0
Comment 0
Share 2
MoreRelated Comments
No comments yet, be the first to comment