This article mainly introduces five cool and practical HTML tags and attributes. For the effects of all tags, click Run code to view them. For more information, see this topic, it cannot be said to be "dazzling", because I have never seen these labels. These features are not very common on the General website, so I feel very fresh. In this case, let's create a series and record all the HTML tags that I have encountered (probably HTML5 tags, but not all browsers are compatible ).
1. contenteditable
This is a new tag added to HTML5, so that you can try to edit the content of a region, such as the following table: (the table in IE does not seem to support this attribute, but p and body seem to support it. If you use IE, click $100 and $50 to edit it. I added the contenteditable label to the two grids. If you are not IE, all the content should be editable)
<Table border = "2" contenteditable = "true"> <caption> Monthly savings </caption> <tbody> <tr> <th> Month </th> <th> Savings </th> </tr> <td> January </td> <p contenteditable = "true"> $100 </p> </td> </tr> <td> February </td> <p contenteditable = "true"> $50 </p> </td> </tr> </tbody> </table>