HTML list
From Publication Station
Useful HTML elements
With links to an explanation and examples.
Elements | description |
<html> | Main html tag |
<head> | Contains all extra info (linked files, meta info) |
<title> | The title of your document |
<link> | A link to load an external file (like CSS) |
<body> | Contains all visible content |
<main>, <section>, <nav>, etc... | Empty blocks used for structuring content |
<div> | An empty block used for formatting |
<p> | A text paragraph |
<a> | A clickable link |
<h1> | A header |
<marquee> | A moving piece of text (only use for fun) |
<br> | A line break |
<ul> | A bulleted list |
<b> | Bold text |
<i> | Italic text |
<img> | An image |
<audio> | An audio player (plays mp3) |
<video> | A video player (plays mp4) |
<iframe> | A frame containing another website |
<button> | A button that can execute javascript |
<input> | A user input for text, numbers, dates etc. |
<textarea> | A user input for large text |
<details> | A dropdown containing more details |
<meter> | A meter showing progress or a value in a range |