Google HTML CSS Style Guide
Google%20HTML_CSS%20Style%20Guide
Google%20HTML_CSS%20Style%20Guide
User Manual: Pdf
Open the PDF directly: View PDF
.
Page Count: 17
| Download | |
| Open PDF In Browser | View PDF |
2/2/2018 Google HTML/CSS Style Guide Google HTML/CSS Style Guide Table of Contents 1 Background 2 General 3.2 HTML Formatting Rules 4 CSS 2.1 General Style Rules 4.1 CSS Style Rules 2.2 General Formatting Rules 4.2 CSS Formatting Rules 2.3 General Meta Rules 4.3 CSS Meta Rules 3 HTML Parting Words 3.1 HTML Style Rules 1 Background This document defines formatting and style rules for HTML and CSS. It aims at improving collaboration, code quality, and enabling supporting infrastructure. It applies to raw, working files that use HTML and CSS, including GSS files. Tools are free to obfuscate, minify, and compile as long as the general code quality is maintained. 2 General 2.1 General Style Rules 2.1.1 Protocol Use the HTTPS protocol for embedded resources where possible. Always use the HTTPS protocol ( https: ) for images and other media files, style sheets, and scripts, unless the respective files are not available over HTTPS.