5 cool and practical HTML tags and attributes introduction _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
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>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.