User:Michel W/Self-learning: Difference between revisions
(→⭑HTML⭑) |
(→⭑CSS⭑) |
||
Line 31: | Line 31: | ||
=== '''⭑CSS⭑''' === | === '''⭑CSS⭑''' === | ||
⊹Syntax simple CSS selectors | ⊹Syntax simple CSS selectors: | ||
* Element | * Element | ||
* class (define with .) | * class (define with .) | ||
* id (define with #) | * id (define with #) |
Revision as of 21:49, 29 December 2023
⭑HTML⭑
⊹Well chosen content of H1 element is crucial to SEO.
Html Entities:
- Help avoid rendering issues
- Safeguard against more limited character encoding
- Provide characters not available on a keyboard
Instead of | < | > | & |
Use: | < ; | > ; | & ; |
Use nbsp;
HTML document ALWAYS appear together on 1 line
After the 1st word and after the 2nd word (with no spaces in between words and entity references)
⊹Option + Command + I --- Google Chrome
⭑CSS⭑
⊹Syntax simple CSS selectors:
- Element
- class (define with .)
- id (define with #)