Create tags.html

document.title
"Tags by name"

document.activeElement
<body>​
<a href=​"google.com">​Google​</a>​
<a href=​"blender.org">​Blender​</a>​
</body>​

var anchors = document.getElementsByTagName('a')
undefined

anchors
[
<a href=​"google.com">​Google​</a>​
, 
<a href=​"blender.org">​Blender​</a>​
]

anchors.length
2

anchors[0]
<a href=​"google.com">​Google​</a>​

anchors[0].href
"file:///home/satishg/jshtml/google.com"

anchors[0].text
"Google"

anchors[0].text = 'Mwhahaha'
"Mwhahaha"


anchors[0].innerHTML
"Google"

anchors[0].innerHTML = 'Mwhahahaha'
"Mwhahahaha"