filmov
tv
HTML 5 - Text Formatting

Показать описание
This video teaches us about how to format text using HTML 5 tags.
We also talked about how to favour semantically correct tags when writing HTML 5 documents.
Some of the text effects baked into HTML we discussed includes:
- Bold effects for making important emphasis using the "strong" tag.
- Italics effect that denotes it's contents are emphasized using the "em" tags.
- Subscripts and superscripts effects using the "sub" and "sup" tags respectively.
- Smaller looking text which are commonly used as hint using the "small" tag.
- A strike through effect using the "del" tag.
- Underlining text with the more modern "ins" tag.
- Block quotation referencing another source using the "blockquote" tag, as well as inline quotes using the "q" tag.
- A quotation could also cite the author and we do that with a "cite" tag.
- Abbreviations are denoted with the "abbr" tag.
- Code snippets could be inserted with the "code" tag.
- Highlighting text is easily achievable using the "mark" tag.
These tags helps us add effects to our HTML document.
The browser is responsible for reading this tags and applying it's default styling on the page.
We also talked about how to favour semantically correct tags when writing HTML 5 documents.
Some of the text effects baked into HTML we discussed includes:
- Bold effects for making important emphasis using the "strong" tag.
- Italics effect that denotes it's contents are emphasized using the "em" tags.
- Subscripts and superscripts effects using the "sub" and "sup" tags respectively.
- Smaller looking text which are commonly used as hint using the "small" tag.
- A strike through effect using the "del" tag.
- Underlining text with the more modern "ins" tag.
- Block quotation referencing another source using the "blockquote" tag, as well as inline quotes using the "q" tag.
- A quotation could also cite the author and we do that with a "cite" tag.
- Abbreviations are denoted with the "abbr" tag.
- Code snippets could be inserted with the "code" tag.
- Highlighting text is easily achievable using the "mark" tag.
These tags helps us add effects to our HTML document.
The browser is responsible for reading this tags and applying it's default styling on the page.
Комментарии