Hello! If you're reading this, you probably followed the link in the "How to Make a Website" zine!
This site covers the same topics as in the zine. You can bookmark it and come back later. This means you can give the zine away to a friend!
Headings use the <h1>, <h2>, <h3>, <,h4>, <h5>, and <h6> tags. They're in order from largest to smallest. Usually, a website only has one <h1> tag, which is used for the title.
Format headings like this:
...and so on.
Use <p> to start a paragraph and </p> to close it, like so:
<p> Hello World!</p>
The <p> tag inserts space between paragraphs automatically. If you don't want space between your lines, use a line break instead.
Put in a line break by placing a <br> tag at the end of a line, where you want it to break. <br> tags are great for writing poetry. Wrap the entire poem in <p> tags. (You do not need a </br> tag.)
<p>This is a little poem<br>
I'm writing on my site<br>
I'm sorry that its rhymes<br>
Don't actually exist.<p>
First, decide what kind of list you want. Do you want a numbered list or just bullet points?
A numbered list is also known as an ordered list, or "ol" for short. A bullet point list is an unordered list, or "ul" for short.
Each item on the list is a list item, or "li" for short.
You use "ol" and "ul" to wrap the entire list, so your browser knows it is a list. You use "li" to wrap each list item, so your browser knows it it a separate item ont he list.
This is an ordered list:
You do not need to type the numbers! The browser will create them for you when you make an ordered list.
To make an unordered list with bullet points, use the same format as an ordered list, but change "ol" to "ul" in all the tags:
First, upload your image to your Neocities site.
Second, link to the image like so:
<img src="/download.png">, where "download.png" is the name of your image. You don't need a closing </img> tag.
You'll see the image on your site! Here's what "https://ilearnedthisfromazine.neocities.org/download.png" looks like:
If you only see text, that's because the image didn't load. Look up "adding alt text to images" to add text and help visitors to your site.
A note: Only link to images that you've uploaded to your site. Linking directly to an image on another site is called "hotlinking," and it's a bad idea for two reasons:
To add a link, you'll need to use an opening <a href> and closing </a> tag:
<a href="https://genrandom.com/cats/>Put the text people will click on here</a>
The result looks like this: Put the text people will click on here
You can add colors, fonts, backgrounds, and all kinds of interesting stuff to a Web site. These days, you're limited only by your imagination and your knowledge!
To start, think of your website as consisting of two major categories: the "content" (what you write, photos, videos etc) and the "style" (the colors, fonts, and so on.
Content is handled by HTML - what we've been learning here. Style info can be included in your HTML, but it gets messy fast. It's easier to use CSS.
"CSS" stands for "Cascading Style Sheets." It allows you to put all your style info in one place. Every page on your site can then read this one CSS file.
For example, check out this same page in different CSS styles:
Check out these resources to learn more.
Want to see all the HTML used for this page? Right-click anywhere on the page and select "View Page Source." Learn all my secrets!