Recommendations of unit types per media type:
| Media | Recommended | Occasional use | Infrequent use | Not recommended |
|---|---|---|---|---|
| Screen | em, rem, % | px | ch, ex, vw, vh, vmin, vmax | cm, mm, in, pt, pc |
| em, rem, % | cm, mm, in, pt, pc | ch, ex | px, vw, vh, vmin, vmax |
Recommendations of unit types per media type:
| Media | Recommended | Occasional use | Infrequent use | Not recommended |
|---|---|---|---|---|
| Screen | em, rem, % | px | ch, ex, vw, vh, vmin, vmax | cm, mm, in, pt, pc |
| em, rem, % | cm, mm, in, pt, pc | ch, ex | px, vw, vh, vmin, vmax |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Title</title> | |
| <link href="stylesheets/main.css" rel="stylesheet" /> | |
| </head> | |
| <body> | |
| <header> | |
| <hgroup> |
| #PyPI | |
| Is the module repository in Python (the equivalent to CPAN in Perl) | |
| // | |
| *Initializing 2 variables at the same time: | |
| a=b=0 | |
| or | |
| a=b=0.0 |