Home > Article > Web Front-end > SaberSama’s HTML detailed summary
html
Why should we turn around?
Because I feel that we, who are also beginners, should learn from each other and communicate with each other.
html: is the abbreviation of Hyper Text Markup Language, that is, hypertext markup language.
The components of a web page are HTML-structure, CSS-performance, Javascript-behavior
Write down some tags I have learned and their usage.
Title tags:
Sort tag:
Paragraph tag:
, indicating a paragraph, a large paragraph of text
Pre-formatted text:
indicates how to write in the content, and the written content will be displayed .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. If the picture written in alt cannot be opened, it will be displayed. Text can also be searched 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:
tag, used to divide blocks, is a very commonly used tag.
Italic: , em is more semantic, i is just italic without emphasis.
Bold: , strong is more semantic,
Line break:
Horizontal line:
Get less.Insert audio:
Insert video: video, video also has the above properties, and there is also a muted mute attribute.
List tag:
Table header, |
---|
Each td represents a column, colspan merges columns horizontally, and rowspan vertically merge.
Input box label: write input="" in 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 the type="submit" and buttons will be submitted. checkbox represents a multi-select box, and radio represents a radio button. ←Refers to the list item
textarea refers to a multi-line text box. That’s about it, I’ll change it if I find something new. For more articles related to SaberSama’s HTML detailed summary, please pay attention to the PHP Chinese website! Statement: 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 |