Build a multilingual and right-to-left (Urdu, Arabic) website
Language tags, direction, fonts and logical CSS for bidirectional sites.
Learn
Practical lessons drawn from years of teaching and real projects.
Language tags, direction, fonts and logical CSS for bidirectional sites.
Keep custom fonts from slowing the page or causing layout jumps.
Choose the right format and size for every image.
Keyboard and screen-reader behaviour you must provide when building widgets.
Align nested content across cards and control complex layouts.
Load data, handle failure and avoid XSS when building HTML.
Make a site installable and give it a simple offline page.
Describe your pages to search engines in a standard format.
Common Apache rules for HTTPS redirects, clean URLs and faster delivery.
Headers that reduce the damage from XSS, clickjacking and downgrade attacks.
A practical order of changes that makes pages load noticeably faster.
Sizes that grow smoothly between phone and desktop, without many breakpoints.
Style a parent by its children and write shorter selectors.
Order your styles with @layer instead of fighting specificity.
Style a component by the width of its container, not the screen.