01. Web Front-end era: HTML5 + CSS3 getting started series ~ First recognized HTML5 and css3html5

Source: Internet
Author: User

01. Web Front-end era: HTML5 + CSS3 getting started series ~ First recognized HTML5 and css3html5

Web Front-end era: HTML5 + CSS3 entry series: http://www.cnblogs.com/dunitian/p/5121725.html

<! -- The document type declaration. html indicates the html5 document type -->

<! DOCTYPE html>

<! -- Character encoding, charset = "UTF-8" -->

<Meta charset = "UTF-8"/>

 

1. Omit quotation marks:

When the attribute values do not include <,>, =, single quotation marks, double quotation marks, or empty strings, the quotation marks on both sides of the attribute can be omitted: <input type = text>

 

2. omitted attribute values

Attribute with a Boolean value (for example, disabled, readonly). Only the write attribute value indicates true: <input type = checkbox checked>

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.