My ideal HTML and CSS

Source: Internet
Author: User

Any property and content can be imported as a URL, such as <p innertext = "http://xxxxxx.com/content.txt%22%3E%3C/p>

Resources requested by all pages can be pre-loaded. predictable resources can be obtained from the browser in an HTTP request.

Style is no longer used as an attribute or tag, but as a page description rendering File Import-for different devices, the server can decide what type of style sheet to return, even if it is used for voice browsers for blind people, it can also return a file such as the description of sentence breaking and re-reading, rather than the static CSS, which realizes the real expression and semantic separation.

Style sheet can be embedded into scripts, which is similar to expression but not so disgusting. style sheet can also control all interactions, such as onclick, hover, mousein, and mouseout.

Different CSS measurement units can calculate each other, for example, width: 300px- 1cm + 10%.

Style sheet can control all the behavior of tags: Even SVG can be used to completely control the label shape.

Videos and audios are only things at the style sheet level.

<Ball/> you can use style sheet to display a 3D sphere.

The script is no longer embedded in HTML as a tag, but an independent file describing interaction. It provides the ability to load scripts synchronously in the script.

 

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.