HTML study notes, html notes

Source: Internet
Author: User
Tags html notes

HTML study notes, html notes
HTML Study Notes

Sorting in December 15, 2016

Chapter11. URL (scheme: // host. domain: port/path/filename) 2. differences between htm and html file names: 3. single and Double tags: 4. tag relationship: 5. in html, nothing except Semantics

1. Add the semantics of the main XXX to the text
2 ....

 

Chapter21. form method: get/post2. form Control
1. <input type = "text" id = "" name = "" value = "" maxlength = "6" readonly = "readonly" disabled = "disabled"> 2. <input type = "password"> 3. <input type = "radio" name = "" checked = "checked"> to achieve the single-choice effect, you must set the same name for the control. 4. <input type = "image" src = ""> 5. <input type = "checkbox" checked = "checked"> 6. <input type = "file"> 7. <input type = "reset"> 8. <input type = "submit"> 9. <input type = "button"> 10. <select name = "" id = "" multiple = "multiple"> <optgroup label = ""> <option value = ""> </option> <option value = ""> </option> <option value = ""> </option> </optgroup> </select> 11. <textarea cols = "30" rows = "10" style = "resize: none;"> </textarea> 12. <fieldset> <legend>... </legend> </fieldset> HTML5 adds 13. <input type = "url"> 14. <input type = "email"> 15. <input type = "date"> 16. <input type = "time"> 17. <input type = "number"> 18. <input type = "range" max = "100" step = "5"> 19. all form elements have labels.
3. tag semantics 4. font UTF-8 and gb23125. SEO (search engine optimization) search engine optimization 6. <meta name = "Keywords" content = ""/> 7. <meta name = "Description" content = ""/> 8. There are 7 types of DTD, 3 types of HTML4.01, 3 types of XHTML1.0, and 1 type of HTML5

11. Anchor
<a name="anchor"></a><a id="anchor"></a>
12. li cannot exist independently and must be enclosed in ul. Conversely, ul's "son" cannot be anything other than li.

Li is a container-level label, which can contain everything.

13. Use tags Based on semantics, rather than based on the surface effect of tags

 

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.