.
Paragraph tag:
, represents a paragraph, a large block of text
Preformatted text:
represents how When writing is in the content, the written content will be revealed.
Citation tag: indicates the source of the cited work, a character. means quoting a large section of content. means quoting a short paragraph of content, such as a poem. means quoting a piece of code.
Hyperlink: The a tag can connect internal and external websites, pictures, things that need to be jumped, etc.
Picture: , Write the address of the picture in src, but the picture cannot be opened if you write it in alt In the event that the displayed text is also searchable by search engines. The content written in the title for users to see. When the mouse is pointed up, text will be displayed.
Block definition:
label, used to divide blocks, is a very commonly used label.
##Italic: , em is more semantic, i is just italic and has no emphasis.
Bold: , strong is more semantic,
Line break:
Horizontal line: is rarely used.
Insert audio: , there are controls in audio that can be controlled, autoplay automatically plays, and loop plays these attributes
Insert video : video, video also has the above attributes, and there is also a muted mute attribute. ##List tag:
Table header, Each tr represents a row, Each td represents a column, colspan Merge columns horizontally and rowspan vertically.
Input box label: write input="" in , text represents an ordinary text box, and the value entered in
placeholder represents the word displayed in the text box. disabled means disabling this box. ##< input
type="password" maxlength="6" autofocus/> Password box, the value in maxlength is the longest number of digits in the password autofocus automatically fixes the focus. ##type="button", the button will not be submitted, but type="submit" and xxx buttons will be submitted. checkbox represents a multi-select box, and radio represents a radio button.
## Refers to the list item xxxx
##
textarea refers to a multi-line text box.
The above is the detailed content of Summary of html basic knowledge. For more information, please follow other related articles on the PHP Chinese website!
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
1970-01-01 08:00:00
1970-01-01 08:00:00
1970-01-01 08:00:00
1970-01-01 08:00:00
1970-01-01 08:00:00
1970-01-01 08:00:00
1970-01-01 08:00:00
2023-03-06 22:20:01
1970-01-01 08:00:00
1970-01-01 08:00:00