HTML & design
Make pages easier to read with image wrapping, line length, contrast and a legible favicon. Open a guide for a code example and a check you can run in your browser.
Found: 3
Search runs locally over titles and descriptions. The full list remains available below without JavaScript.
Favicon: a small mark that stays legible
A tab icon must remain recognisable at 16–32 pixels. A reduced copy of a long wordmark usually becomes a blur.
Wrap text around an image without breaking the page
Float is appropriate when text lines should genuinely wrap around artwork. Use Grid or Flexbox for two independent columns.
Readable articles: line length, rhythm and contrast
An attractive font cannot fix a dense wall of text. Readers need useful headings, identifiable links and comfortable line lengths.
No matches. Try “photo”, “WordPress” or “CSS”.
Reserve space for three card covers
Check the cards on a narrow screen before and after the images load.
- Give each cover wrapper aspect-ratio: 4 / 3 and the full card width.
- For mixed source proportions, set image width and height to 100% and use object-fit: cover. Check the crop.
- At two widths, compare wrapper heights and heading positions before and after loading.
Example: a 320 px wide wrapper at 4:3 is 240 px tall. The heading below it keeps its position after the image loads if the wrapper height and other layout conditions stay fixed.