0% found this document useful (0 votes)
2 views

HTML canvas Tag

The document provides an overview of various HTML tags including <canvas>, <caption>, <cite>, <colgroup>, <datalist>, and comments. Each tag is described with its purpose, usage, and some specific attributes or characteristics. This summary highlights how these tags contribute to structuring and enhancing web content.

Uploaded by

sudeshnabbs
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

HTML canvas Tag

The document provides an overview of various HTML tags including <canvas>, <caption>, <cite>, <colgroup>, <datalist>, and comments. Each tag is described with its purpose, usage, and some specific attributes or characteristics. This summary highlights how these tags contribute to structuring and enhancing web content.

Uploaded by

sudeshnabbs
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

HTML

canvas Tag
The <canvas> tag in HTML
is used to draw graphics on a
web page using JavaScript. It
can be used to draw paths,
boxes,
texts, gradients, and adding
images. By default, it does
not contain borders and text.
HTML
caption Tag
The <caption> tag in HTML is
used to provide a title or
description for a <table>
element. It helps give context
or additional information
about the content of the
table.
 The <caption> tag must be
placed immediately after
the opening <table> tag.
 Useful for summarizing
table data, especially in
large datasets
 The <caption> tag also
supports the Global
Attributes and Event
Attributes in HTML.
HTML cite
Tag
The <cite> tag in HTML is
used to define the title of a
creative work, such as a
book, article, song, or movie.
It is typically used to provide
a citation for a source of
information or to give credit
to the original creator of the
work.
Note: The content inside the
<cite> tag is usually
displayed in italics by default
in most browsers.
 The <cite> tag should not
be used for general
references or citations of
authors or creators; it is
specifically for titles of
works.
 Using the <cite> tag helps
improve the semantic
structure of your HTML
document, making it clearer
to both users and search
engines what the cited
content represents.
 The <cite> tag also
supports the Global
Attributes and Event
Attributes in HTML.
HTML
colgroup Tag
The <colgroup> tag in HTML
is used to group one or more
<col> elements, allowing you
to apply styles or attributes
(such as width) to entire
columns in a <table>.
HTML
Comments
HTML comments are used
to add notes or explanations
in the HTML code that are not
displayed by the browser.
 They are useful for
documenting the code,
making it easier to
understand and maintain.
 To add a comment, use the
syntax <!– your comment
here –>.

HTML
datalist Tag
The <datalist> tag is used
to provide
an in autocomplete feature
in the HTML files. It contains
a list of predefined options
that the user can select from,
making it easier to enter
data. The <datalist> tag is
often used in conjunction
with an <input> element of
type “text” or “search”.

You might also like