What are the basic knowledge points of getting started with HTML
This article is to share with you what are the basic knowledge points about how to get started with HTML. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Tags, tags, elements
Tags and elements usually have the same meaning as the description, but strictly speaking, an HTML element contains the opening and closing tags.
A standard HTML page
VolvoSaabFiatAudi
Text field (Textarea)
The text field can only be sized through the rows and cols properties, and becomes a drop-down box if the text content exceeds the limit.
Label tag
The label > tag defines annotations (tags) for the input element.
The label element does not present any special effects to the user. However, it improves usability for mouse users. This control is triggered if you click the text inside the label element. That is, when the user selects the tag, the browser automatically shifts its focus to the form control associated with the label.
The "for" attribute binds the label to another element. Set the value of the "for" attribute to the value of the id attribute of the related element.
Male
Female
Form with borders (Fieldset)
Personal information:Name:
E-mail:
Date of birth:
Button
Ordinary button
Submit button
Reset button
Button tag of HTML5
confirm
You can place content, such as text or images, inside a button element. This is the difference between this element and creating a button using the input element. Always specify the type attribute for the button element.
Thank you for reading! This is the end of this article on "what are the basic knowledge points of the introduction to HTML". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!