HTML Basics
On this page you will learn the basics such as line dividers, images, backgrounds, and music!
Background Image
This adds a background image to your page.
<body background=" IMAGE URL ">
Fixed Background Image
This prevents your background from moving when you scroll.
<body background=" IMAGE URL " bgproperties="fixed">
Background Color
Use this code when you want to just add a color and not an image. Replace where it says HEX to a hex code which is found [here].
<body bgcolor=" HEX ">
Background Music
This code is used to add background music to your page.
<bgsound src=" MIDI URL " autostart="true" hidden="true" loop="infinite">
Add an Image
This adds an image to your page.
<img src=" IMAGE URL ">
Linking Graphics
This makes an image link to another page or to a different website.
<a href="PAGE YOU WANT TO LINK TO"><img src="IMAGE URL">
Create a Line
This creates a line or a page divider. An example is shown up top above "background image."
<hr width=NUMBER color=COLOR>