Q. RWD
RWD stands for Responsive Web Design.
- Responsive web design makes your web page look good on all devices.
- Responsive web design uses only HTML and CSS.
- Responsive web design is not a program or a JavaScript.
Q. The Viewport
The viewport is the user's visible area of a web page.
The viewport varies with the device, and will be smaller on a mobile phone than on a computer screen.
Setting The Viewport
HTML5 introduced a method to let web designers take control over the viewport, through the <meta>
tag.
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Q. For Microsoft Explore
<meta http-equiv="X-UA-Compatible" content="IE=edge">
IE=edge 使用最新的IE版本
這一行放在整個html檔案越上面越好