The following editor will bring you a brief discussion of tags in HTML. The editor thinks it’s pretty good, so I’ll share it with you now and give it as a reference. Let’s follow the editor and take a look
0. What is a tag
##XML/HTML Code Copy the content to the clipboard
<input type="checkbox" checked /><a href="http:www.php.cn" title="123" id="lol">提示</a>
1.Boolean tag
Checked is used as an example.It is applied when it exists. It is used to mark the status. If there is a change mark, the value of getAttribute is always checked. If there is no getAttribute, The value is undefined. The value is operated by setAttribute and removeAttribute, which will be applied to the attribute checked. The value of the attribute checked is true or false. The assignment operation to the checked attribute will not have any impact on the checked tag2. The data tag
has been titled For exampleThe value of the attribute title is always consistent with the value of the tag titleAssigning a value to the attribute title will affect the existence (from scratch) and value of the tag title The above article briefly discussing the tags in HTML is all the content shared by the editor. I hope it can give you a reference, and I hope you will support the PHP Chinese website. For more articles about tags in HTML, please pay attention to the PHP Chinese website!