HTML DOM हेड ऑब्जेक्ट
Head ऑब्जेक्ट
Head ऑब्जेक्ट HTML <head> एलीमेंट को प्रतिनिधित्व करता है。
Head ऑब्जेक्ट देखें
आपको getElementById() का उपयोग करके <head> एलीमेंट देख सकते हैं:
var x = document.getElementsByTagName("HEAD")[0];
Head ऑब्जेक्ट बनाएं
आप document.createElement() विधि का उपयोग करके <head> एलीमेंट बना सकते हैं:
var x = document.createElement("HEAD");