This is a test page for me to learn HTML and CSS.

Header to show i learned how to create a header and change the background-color in HTML.

Paragraph to show i learned about paragraphs

They said to say 'hello world' but i won't!
MUAHAHAHAHAHA

This is fun, i say.

Special characters: is made with '&' + '[character code]' + ';'
For example the copyright symbol ©

An anime schoolgirl in casual clothes happily moving her upper-body from one side to the other while sitting on a bench inside some place; her name is Akari Akaza and she's the main character of Yuru Yuri

^ me learning HTML right now.


Time to learn how to insert a favicon, it'll show up as this site's icon in browser tabs.
Basically, in the 'head' and in a 'link' tag, you just have to 'href' the picture and 'rel' it as an icon.


I was studying HTML through a very bad source because i had to, but now i'll use Firefox's guide to learn. Thus, i decided to hide the old learning experience to make things less confusing.


Ok, now i'll start learning everything again from scratch for, like, the fourth time in my life, hopefully this time i'll actually learn it properly.

Just by skeeming Firefox's guide i can see it has a different approach to teaching, it has many more explanations instead of just saying: p is for paragraphs, create a paragraph.
This is much better because understanding how something works provides an abstract understanding that is much more creatively useful than rote memorization. Basically i'd rather how to write by by undestanding the processes involved than memorizing a dictionary.

- As the image below shows, an HTML element has three components, an opening tag, the content within the tag and the closing tag.

A sample code snippet demonstrating the structure of an html element.

The |em| tag was chosen an an example and it italicises the text. From now on i'll use | | for tags because before neocities doesn't like using > inside the text, before i wasn't using anything and that's not ideal either.

- Now it's time to learn about nesting! That is, using elements inside other elements. Pretty straight forward concept for which they used |strong| as the example tag, it puts the text in bold. An important note and something many will try to mess around with is that the nested tag must be opened and closed within the element it is nested to.

I'm a bit unsure about my language, it's awkward to chose between element and tag more often that not.

- The void is here!

Void elements are made of a single tag and usually embed or insert something. The chosen example was the |img| tag, which i already used a few times, so i'll skip it this time. Despite trying to learn HTML a few times i'm already learning something new; it's good to end void tags with /> for it to be valid XML (another markup language used to store data).

- Attibutes: extra content inside tags that carry information. They must have a space betweet the element name and it, an attribute name + ="" with a value within the brackets, for example |img src="img.png"|

-- Boolean attributes. Everybody knows Boo is all about duality so of course those attributes reflect that but there's a catch, this time Boo is set to false by default if there is no attribute and set to true by default if there is an attribute, this means that, for example, the attribute |disabled| will always be false until it exists in the code (e.g. |input type="text" disabled="disabled" /|). They are also special in that they can be written as simply their attribute name (checked, for example) or an empty "" (checked=""). Very cool stuff!

- Ommiting quotes in attributes: there are situations you can skip them but just use them anyway to avoid problems. They can be single or double but they must remain consistent within the attribute ("hi' = bad).

Funnily enough, i just mentioned neocities disliking the use > and it turns out there's a way to use those characters, you have to reference them, which i did right at the start of this page but forgot about it. In the case of < and > their references are &+lt+; and &+rt+;. For both training and properness i'll use those references from now on, but i'll leave the previous | | as is because you don't erase history!!

- Anatomy of an HTML document.

Alright this part is gonna be pretty big and has a ton of special characters so i'll try to simplify everything as much as possible.