this is the page that I'm going to use to learn how to do html again
..last time I learned was when I was 13...
Tags!
< !doctype html> // This is a declaration of the type of document that it is
< html> // this shows that everything from here onwards, till it is closed again, is to be read as a html document
< body> // this is the main content of the doc- all of the content within the web page should appear here, within the browser window.
Note; not all tags have closing tags, for example- the humble < br>, just works by itself. Can you guess what it does? it...
Breaks the line...
This is my first webpage??? what am I doing here? hello? can someone help me? I'm trapped
Attributes!
Tags can also have attributes , which are bits of extra information. Attributes appear inside the opening tag and their values sit inside quotation marks.
They can look something like Margarine . We will come across tags with attributes later.
technically, the quotation marks aren't required, but its good practice- and helpful when it comes down to debugging.
Elements!
Elements tend to not do much more than mark the beginning and end of an element.
Elements are the bits that make up a webpage. You would say, for example, that everything
that is in between (and includes) the < body> and < /body> tags is the body element.
or that everything within < title> and < /title> are the title elements