Important Notice:

Course Content
Heading Tag / Paragraph Tag
0/2
Horizontal Rules (HR element)
0/1
Font Element
0/1
Image Element
0/1
HTML Basic (Chapter 3) M2-R5.1
About Lesson

Caption element:-

इस टैग का उपयोग table के title/headingको define करने के लिए किया जाता है जिसका उपयोग table टैग के अंदर किया जाता है। यह एक कंटेनर element भी है इसलिए यह <caption> टैग से शुरू होता है और </caption> टैग के साथ closed होता है। और इसका attribute align है, जिसका उपयोग कैप्शन को पोजिशन करने के लिए किया जाता है इसमें निम्न options हैं top, bottom, left and right.

Syntax:-<table>

              <caption align=”left”> title/heading of table</caption>

     </table>

Caption element:-

This tag is used to define title/heading of the table it is used inside the Table tags. It is also a container element so it begins with <caption> tag and ends with </caption> tag. And its attribute is align, which is used to position the caption. Its values are top, bottom, left and right.

Syntax:- <table>

              <caption> title/heading of table</caption>

     </table>

error: Content is protected !!