II HTML5 Colors
II HTML5 Colors
HTML 5
Headings Quotations
Paragraphs Comments
Styles Colors
Formatting CSS
Headings Are Important
HTML Headings Search engines use the headings
to index the structure and content
of your web pages.
https://www.w3schools.com/tags/default.asp
HTML Paragraphs
The HTML <p> element defines a paragraph:
HTML Display
You cannot be sure how HTML will be displayed.
Large or small screens, and resized windows will
create different results.
With HTML, you cannot change the output by
adding extra spaces or extra lines in your HTML
code.
The browser will remove any extra spaces and
extra lines when the page is displayed:
HTML Line Breaks
HTML Text
Alignment
The text-align property defines the
horizontal text alignment for an
The font-size property defines the text size for an HTML element:
HTML Text Formatting
HTML Formatting Elements
https://www.w3schools.com/colors/colors_names.asp
Background Color
Text Color
Border Color
Color Values
In HTML, colors can also be specified using RGB values,
HEX values, HSL values, RGBA values, and HSLA values:
Color Names Supported by All Browsers
https://www.w3schools.com/colors/colors_hex.asp
Chapter Summary