Important HTML Words
simple // ur most basic layout tutorials thread
just some HTML words. o u o
ignore if you want to. it's not even that long anyway.
There are only 5 words that I'm going to be explaining. I'm pretty sure that there are millions more but... ya'know~ (totally exaggerating when I said millions)
Element - an element is everything from the start tag to the end tag.
Example:
< span style="font-family: times new roman; font-size: 12px; color: #808080;"/ >idyllic< /span >
Start Tag - the first tag to an element.
Example:
< span style="font-family: times new roman; font-size: 12px; color: #808080;"/ >idyllic< /span >
End Tag - the closing tag to an element.
Example:
< span style="font-family: times new roman; font-size: 12px; color: #808080;"/ >idyllic< /span >
Tag - HTML tags are keywords surrounded by the brackets.
Example:
< span style="font-family: times new roman; font-size: 12px; color: #808080;"/ >idyllic< /span >
Attribute - they provide additional information about an element.
Example:
< span font-family="times new roman" font-size="12px;" color="#808080" >idyllic< /span >
HOWEVER, something something about using all that not working anymore ever since HTML4. Hence we use the attribute 'style'.
So here's how it should be:
< span style="font-family: times new roman; font-size: 12px; color: #808080;"/ >idyllic< /span >
and so in the end, the only attribute we really use is 'style'. ouo;;
Comments