Skip to Content

HTML Cheatsheet

17 September 2026 by
Veer
| No comments yet

Start writing here...


hello.html


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML5 Boilerplate</title>
</head>
<body>
<h1>Hello world, hello NevZeniens!</h1>
</body>
</html>

HTML link


<a href="https://quickref.me">QuickRef</a>
<a href="mailto:jack@abc.com">Email</a>
<a href="tel:+12345678">Call</a>
<a href="sms:+12345678&body=ha%20ha">Msg</a>
  • → href The URL that the hyperlink points to
  • → rel Relationship of the linked URL
  • → target Link target location: _self, _blank, _top, _parent

HTML Comment


<!-- this is a comment -->

<!--
Or you can comment out a
large number of lines.
-->

HTML Image Tag


<img loading="lazy" src="https://picsum.photos/" alt="Describe image here" width="400" height="400">
  • → src Required, Image location (URL | Path)
  • → alt Describe of the image
  • → width Width of the image
  • → height Height of the image
  • → loading How the browser should load

HTML Image Tag


<img loading="lazy" src="https://xxx.png" alt="Describe image here" width="400" height="400">
  • → src Required, Image location (URL | Path)
  • → alt Describe of the image
  • → width Width of the image
  • → height Height of the image
  • → loading How the browser should load




Sign in to leave a comment