.
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
Table Border in HTML
Sep 04, 2024 pm 04:49 PM
Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.
HTML margin-left
Sep 04, 2024 pm 04:48 PM
Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.
Nested Table in HTML
Sep 04, 2024 pm 04:49 PM
This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.
HTML Table Layout
Sep 04, 2024 pm 04:54 PM
Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.
HTML Input Placeholder
Sep 04, 2024 pm 04:54 PM
Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.
HTML Ordered List
Sep 04, 2024 pm 04:43 PM
Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively
Moving Text in HTML
Sep 04, 2024 pm 04:45 PM
Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.
HTML onclick Button
Sep 04, 2024 pm 04:49 PM
Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
See all articles