IT2805/Exercise 4/questions.txt

26 lines
1.0 KiB
Markdown

# Questions
1. Mobile phones usually ignore the autoplay tag in order to save cellular data.
2. The css snippet
```CSS
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
#logo {
display: none;
}
}
```
will make no difference for a device with `320 x 568` resolution because the device' height, `568px`, is not between `768` and `1024`
3. There is several advantages of using a responsive website. Some of them are:
* A collected codebase: There is not as much work to do as if you were to make two different sites.
* The user is guaranteed the same info: The HTML will stay the same no matter how the CSS is written, and there will be less occurences of the mobile website not having the same services/options/information as the desktop website or vice versa.
* Easier networking: No need for any special redirection proxys or desktop/mobile specific load balancer. You can just serve the website as is.
[//]: # vim: set syntax=markdown: