User Tools

Site Tools


form:www:html

This is an old revision of the document!


HTML

Hypertext Markup Language

Cool HTML Elements

<cite>
For titles of works.
<details>
For sections of stuff you can show/hide. Added a <summary> to set the title. Use <details open> to make it start unfolded.
<dfn>
For specifying first instance of a term. Use with <abbr> or <acronym>.
<figure>
For images associated stuffs. Put a regular 'ol <img> in there and use <figcaption> for a caption.
<kbd>
For keyboard / button instructions.

Other Cool Things

download attribute
With <a href=“[link to file]” download> you can specify that a link is for downloading, rather than loading, by adding the download attribute. This can also be followed by a =“[filename]” if you want it to be downloaded with a different filename that the one it has on your server.
form/www/html.1529741855.txt.gz · Last modified: 2018/06/23 18:17 by rjt