HTML & Css Cheatsheet
HTML & Css Cheatsheet
11 <b> HTML <b> tag is used to display <p> Hello guys, <b>this is the
the written text in bold format. method to write bold text.</b></p>
23 < Center> The center tag in HTML is used to <p class="center-text">This text is
set the alignment of text in the centered using CSS text
center. Not supported in HTML5. alignment.</p>
24 <cite> HTML <cite> tag specifies a !DOCTYPE html>
citation, it provides reference or <html>
title to a creative work, quoted <head>
content, books, websites, a <title>Cite Tag</title>
research paper, a blog-spot, </head>
painting, etc. <body>
<h2>Example of cite tag</h2>
<img
src="https://static.deebug.com/htmlp
ages/images/book.jpg" height="150"
width="120">
<p>A famous book:
<cite> Web Development
ABC </cite> written by Deebug
Institute
</p>
</body>
</html>
38 <fieldset> The fieldset tag in HTML5 is used to <fieldset> Form elements </fieldset>
make a group of related elements in
the form, and it creates the box over
the elements.
81 <q> HTML quotes are used to put a <p> Great quote on love and life.</p>
short quotation on your website. <p> Dr. Seuss once said : <q>Reality
To do so, you need to use HTML is finally better than your
q tag and HTML blockquote tag. dreams.</q></p>
82 <rp> HTML <rp> tag is used to provide <ruby>
fall back parenthesis for the 漢
content which is to be shown in <rp>(</rp><rt>Kan</rt><rp>)</rp>
the browser, if browser does not 字 <rp>(</rp><rt>ji</rt><rp>)</rp>
support display of ruby </ruby>
annotations.
92 <span> In HTML, the span tag is a <p>You're not limited to color either.
generic inline element. With the You can change the <span
help of a span tag, we can wrap id="new-font">font family</span> or
a particular text and provide the <span id="new-font-size">font
style with the help of a CSS size</span>.</p>
property. We can write the
syntax of the span tag with the
help of opening and closing the
angular bracket.
104 <textarea> The HTML <textarea> tag is used <textarea rows="9" cols="70">
to define a multi-line text input deebug textarea tag example with
control. rows and columns.
</textarea>
It can hold unlimited number of
characters and the texts are
displayed in a fixed-width font
(usually courier).
108 <time> HTML <time> tag is used to <p>The wedding of Salman's sister was
define date and time. It displays scheduled at <time
time value in a 24 hour clock or a datetime="2014-11-19 T0
precise date in a Gregorian 7:00-09:00">7pm last wednesday
calendar in HTML. </time>.</p>
113 <u> HTML <u> tag is used to define a <u> write any data <u>
span of inline text with a The following syntax is used for the
non-textual annotation. It basic HTML underline tag with CSS
rendered as an solid underlined properties.
text, but it can be changed using <u> write any data <u>
CSS properties. This tag was <style>
deprecated in HTML 4.0 and u{
redefined in HTML5. text-decoration: blue wavy underline;
}
</style>
1. mp4
2. webM
3. ogg
117 <wbr> HTML <wbr> tag is used to <p> This is a world record for the
specify a line break opportunity largest word,
within an HTML document. a 45-letter word appears in a major
dictionary
Without wbr tag, it is very <i>pneumonoultramicroscopicsilicov
difficult to read a long single olcanoconiosis</i>
word or a sentence. Without wbr </p>
tag, single long word can wrap <p>Here's what it looks like without
or not wrap at all, it creates using the <code>wbr</code>
problem for the layout of the tag...<br/>
page. <i>
pneumonoultramicroscopicsilicovolc
anoconiosis </i></p>
<p> It will look like this after using
wbr tag. </p>
<i>
pneu<wbr>monoultra<wbr>microsc
<wbr>opicsili<wbr>covolcan<wbr>io
sis</i>
118 <xmp> The XMP tag is used to create any <!DOCTYPE html>
content in letter format. <html>
<body>
<h1>GeeksforGeeks</h1>
<!-- xmp tag -->
<xmp>
HTML tags are hidden keywords
and used to create web pages in
different format.
Most of the tags contain two parts,
opening tags and closing tags.
</xmp>
</body>
</html>
CSS Playground
https://www.w3schools.com/cssref/playdemo.php?filename=playcss_accent-color