-
HTML fundamentals - the first lesson
Some things I didn’t know:
HTML is not a programming language - as I had mistakenly put in my first draft analsis. No it is a markup language.
Different tags are called elements
Elements are referred to by abbrieviatons, for example you don’t write paragraph you just write “p” and for a link you use an “a” tag which stands for anchor.
Attributes are extra bits of information that are applied to elements for example you might apply the image size and position. The attributes are always added in the opening tag and must be put in “” marks.
Some other common attributes are class, style, id
The style attribute has always confused me. To clarify then to enter a style attribute the correct syntax is:
<element style=”CSS syntax” />
Posted on April 17, 2009
blog comments powered by Disqus