What are Data URLs?

A Data URL is a URI scheme that provides a way to inline data in a document, and it’s commonly used to embed images in HTML and CSS. Data URLs are a form of Uniform Resource Locators, although they do not in fact remotely locate anything. Instead, the resource data is contained within the URL string itself as a base64-encoded string. This saves the browser from having to make additional HTTP requests for the external resources, and can thus increase page loading speed. Read More …

Select all DIV text with single mouse click on HTML button

The following code can be used in a HTML page to select, for example with an onClick event handler, the Read More …

HTML Well-formedness

In web page design, and generally for all markup languages such as SGML, HTML, and XML, a well-formed element is Read More …

Make just one cell in an HTML table bordered

For simplicity, let us consider a trivial table with three cells: <table border=”1″ cellspacing=”0″ cellpadding=”4″> <tr> <td>one</td> <td>two</td> <td>three</td> </tr> Read More …