Html5 mobile web Development notes

Source: Internet
Author: User

Width specifies the screen width of the virtual window.

Height specifies the screen height of the virtual window.

Initial-scale specifies the initial scaling ratio.

Maximum-scale specifies the maximum scale allowed for user scaling.

Minimum-scale specifies the minimum scale allowed for user scaling.

User-scalable specifies whether manual scaling is allowed.

<! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN" "http://www.w3.org/TR/html4/loose.dtd"> 

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/1549121105-0.jpg "title =" qq 30831193829.jpg "/>

Include matching Selector

<Div id = "article"> test include matching property selector </div> <div id = "subarticle"> test include matching property selector </div> <div id = "article1 "> test the inclusion matching property selector </div> <style type =" text/css "> [id * = article] {color: red ;}</style>

First character matching Selector

<Div id = "article"> test the first character matching selector </div> <div id = "subarticle"> test the first character matching selector </div> <div id = "article1 "> test the first character matching selector </div> <style type =" text/css "> [id ^ = article] {color: red ;}</style>

Tail character matching Selector

<Div id = "article"> test the tail character matching selector </div> <div id = "subarticle"> test the tail character matching selector </div> <div id = "article1 "> test the tail character matching selector </div> <style type =" text/css "> [id $ = article] {color: red ;}</style>


This article is from the "mic" blog, please be sure to keep this source http://umgsai.blog.51cto.com/2079212/1286415

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.