Skip to content
On this page

HTML

Learn HTML is good intro. HTMHell is great to learn better HTML practices.

unpic img is nice responsive image component.

Notes

Code

html
<!-- Embed email inside link -->
<a href="mailto:[email protected]">Email me</a>
html
<!-- Add image to the side with link -->
<!-- Useful in GitHub readmes. Can adjust width or add height. -->
<img
  src="https://i.imgur.com/hZe2AUY.png"
  align="right"
  width="70"
/>](https://nodejs.org)
html
<!-- Breaking space. Can use in readme to separate things. -->
&nbsp;
html
<!-- Collapsable content -->
<details>
  <summary>Table of Contents</summary>

  * [About](#about) * [Screenshots](#screenshots) * ..
</details>
html
<!-- line break -->
<br />

Examples

html
<!-- to see difference of span with inline -->
<p>
Hi<span> I'm inline</span>
</p>
<p>
Hi<div>oh no break</div>
</p>