HTML list
From Publication Station
Revision as of 08:50, 31 October 2023 by Arjensuijker (talk | contribs) (Created page with "=== Useful HTML elements === With links to an explanation and examples. {| class="wikitable" |Elements |description |- |[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html <html>] |Main html tag |- |[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head <head>] |Contains all extra info (linked files, meta info) |- |[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title <title>] |The title of your document |- |[https://developer.mozilla.org/...")
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 |
<p> | A text paragraph |
<div> | An empty block used for formatting |
<a> | A clickable link |
<img> | An image |
<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 |
<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 |