The Head object represents an HTML <head> element.
You can access a <head> element by using getElementsByTagName():
You can create a <head> element by using the document.createElement() method:
The Head object also supports the standard properties and events.
HTML tutorial: HTML Head
HTML reference: HTML <head> tag