HTML | Tags of HTML By. Sunrise Computers

HYPERTEXT MARKUP LANGUAGE (HTML)

HTML | TAGS

HTML में tags एक तरह से keywords ही होते हैं जो define करते हैं कि किसी web page का content किस तरह से format और display होगा। Tags keyword के type होते है, जो हमे बताते है की कैसे content को format और content को display करता है। Web browser की मदद से हम HTML content और simple content के बीच अंतर कर पता है। HTML Tag के तीन main parts होते है -

Opening tag

Closing tag

Content

Content पर कई HTML tags unclosed होते है। जब एक web browser HTML document read करता है तब वह top to bottom और left to right read करता है। HTML tags का use html document read करने के लिया use करतेहै। HTML tags की different properties है। एक HTML file में essential tag होने चाहिए ताकि web browser HTML text & simple text का difference जान सके। HTML tags को इस प्रकार लिखते है -

Opening Tags :- इन tags को ओपन करना जरूरी होता जिसका आउटपुट हमे वेब ब्राउजर में मिलता है। इन्हे बंद करना जरूरी नहीं होता है।

Example:- <br>, <li>, <ol>, etc.

Closing Tags :- इन tags को ओपन करने के साथ साथ close करना जरूरी होता है। यदि इन्हें क्लोज नही किया जाएगा तो वेब ब्राउजर पर desired output नही मिलेगा।

Example :- <body>...</body>, <p>.....</p>, etc.

Content :- 

Tags and their Uses




For Any Doubt Clear on Telegram Discussion Group


Comments