In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what is the grammar of HTML elements". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the grammar of HTML elements".
The HTML element starts with the opening tag.
The HTML element terminates with the closing tag.
The content of the element is the content between the start tag and the end tag.
Some HTML elements have empty content (empty content).
The empty element is closed in the start tag (ends with the end of the start tag).
Most HTML elements can have attributes.
HTML tags are not case-sensitive.
The HTML title (Heading) is defined by tags such as -.
The HTML paragraph is done through the
Tag to define. HTML links are defined by tags.
This is a link
Note: specify the address of the link in the href property
The HTML image is created through the
Tag to define.
Note: the name and size of the image are provided in the form of attributes
The element defines the body of the HTML document.
Element defines the entire HTML document
HTML attribute
HTML tags can have attributes. Property provides more information about the HTML element.
Attributes always appear in the form of name / value pairs, such as: name= "value".
The attribute is always specified in the opening tag of the HTML element
Attribute instance
HTML links are defined by tags. The address of the link is specified in the href property:
This is a link
HTML hint: use lowercase attributes
Properties and attribute values are case-insensitive
Always quote attribute values
Attribute values should always be enclosed in quotation marks. Double quotation marks are the most commonly used, but there is no problem using single quotation marks
In some individual cases, such as when the attribute value itself contains double quotes, you must use single quotes, such as:
Name='Bill "HelloWorld" Gates'
Thank you for your reading, the above is the content of "what is the syntax of HTML elements?" after the study of this article, I believe you have a deeper understanding of what the syntax of HTML elements have, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.