Quote Originally Posted by Puffin View Post
What's the purpose of the <html> or <head> bases? I've seen them on other website coding but don't get what they're for.
Well, the <title> element gives your document a title, so that it's displayed at the top of the page.
The <html> and <head> elements are simply required by the HTML standard. Most web-browser will accept incorrect pages, but they are not required to do so.
I believe the purpose of the <html> element is to mark that it's an HTML page, and the <head> is used to contain meta-information that isn't supposed to be displayed directly. For instance, stylesheets and javascript libraries should be linked in the head element.
For the page to be valid it also needs to have a doctype, which tells the browser what version of HTML that's being used.