Category: websites

HTML: Link rel – Preload

The preload value of the <link> element’s rel attribute lets you declare fetch requests in the HTML’s <head> , specifying resources that your page will need very soon, which you want to start loading early in the page lifecycle, before…

HTML: Attributes of rel

HTML | <a> rel Attribute The “rel” attribute specifies the relationship between the current document and the linked document/content. Only used if the “href” attribute is present.   Syntax: <a rel=”value”> Search engines may also use the information in the…

WCAG 2.0 checklist

WCAG 2.0 checklist Level A (Beginner) Guideline Summary 1.1.1 – Non-text Content Provide text alternatives for non-text content 1.2.1 – Audio-only and Video-only (Pre-recorded) Provide an alternative to video-only and audio-only content 1.2.2 – Captions (Pre-recorded) Provide captions for videos…

Word Wrap long text in HTML

In HTML a very long text is not automatically wrapped. Especially if there are no spaces in your string your browser doesn’t necessarily know where it should break the line. In most cases you don’t want the people use the…