HTML CHEAT SHEET 2 for web coding, Cheat Sheet of Computer science

HTML CHEAT SHEET 2 for web coding shortened codes

Typology: Cheat Sheet

2021/2022

Uploaded on 09/13/2022

evade-dube
evade-dube 🇿🇼

1

(1)

2 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
HTML Tags Chart
To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste
it into your web page.
Tag
Name
Code Example
Browser View
<!-- comment
<!
--
HTML
part of a
document--> Nothing will show (Tip)
<a - anchor
<a href=
"http://www.domain.com/">
Visit Our Site</a> Visit Our Site (Tip)
<b>
bold
<b>
Example
</b>
Example
<big> big (text)
<big>Example</big>
Example
(Tip)
<body>
body of
HTML
documen
t
<body>The content of
your HTML page</body> Contents of your web
page (Tip)
<br> line
break The contents of your page<br>The contents
of your page
The conten
ts of your web
page
The contents of your web
page
<center> center
<center>
This will center your
contents</center>
This will center your
contents
<dd> definition
descripti
on
<dl>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
</dl>
Definition Term
Definition of the
term
Definition Term
Definition of the
term
<dl> definition
list
<dl>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
</dl>
Definition Term
Definition of the
term
Definition Term
Definition of the
term
<dt> definition
term
<dl>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
</dl>
Definition Term
Definition of the
term
Definition Term
Definition of the
term
<em> emphasis
This is an
<em>
Example
</em>
of using
the emphasis tag
This is an
Example
of using
the emphasis tag
<embed>
embed
object
<embed
src="yourfile.mid" width="100%"
height="60" align="center">
(Tip)
<embed>
embed
object
<embed src="yourfile.mid" autostart="true"
hidden="false" loop="false">
<noembed><bgsound src="yourfile.mid"
loop="1"></noembed>
Music will begin playing
when your page is loaded
and will only play one time.
A control panel will be
displayed to enable your
visitors to stop the music.
<font> font
<font
face="Times New
Roman">Example</font> Example (Tip)
pf3
pf4
pf5
pf8

Partial preview of the text

Download HTML CHEAT SHEET 2 for web coding and more Cheat Sheet Computer science in PDF only on Docsity!

HTML Tags Chart

To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page. Tag Name Code Example Browser View ** Nothing will show (Tip)

Visit Our Site **** Visit Our Site (Tip) bold Example Example

big (text) Example Example (Tip)

**body of HTML documen t ** The content of your HTML page **** Contents of your web page (Tip)
line break^ The contents of your page of your page
The contents The contents of your web page The contents of your web page **center ** This will center your contents **** This will center your contents

definition descripti on

Definition Term Definition of the term Definition Term Definition of the term

Definition Term Definition of the term Definition Term Definition of the term

**definition list ** Definition Term Definition of the term Definition Term Definition of the term


Definition Term Definition of the term Definition Term Definition of the term

definition term

Definition Term Definition of the term Definition Term Definition of the term

Definition Term Definition of the term Definition Term Definition of the term emphasis This is an^ **** Example ****^ of using the emphasis tag This is an Example of using the emphasis tag

**embed object (Tip) embed object < embed src="yourfile.mid" autostart="true" hidden="false" loop="false">

Music will begin playing when your page is loaded and will only play one time. A control panel will be displayed to enable your visitors to stop the music. **font Example **** Example (Tip)

**font Example Example^ (Tip)

**font Example Example^ (Tip)

**form

Name:
Email:


Name: (Tip) Email: Submit

**heading 1 heading 2 heading 3 heading 4 heading 5 heading 6 ** Heading 1 Example ** ** Heading 2 Example ** ** Heading 3 Example ** ** Heading 4 Example ** ** Heading 5 Example ** ** Heading 6 Example ****

**heading of HTML documen t ** Contains elements describing the document **** Nothing will show **horizonta l rule ** Contents of your web page (Tip) Contents of your web page **horizonta l rule

Contents of your web page Contents of your web page **horizonta l rule

Contents of your web page Contents of your web page

(Internet Explorer) **horizonta l rule

Contents of your web page Contents of your web page

(Internet Explorer) **horizonta l rule

Contents of your web page Contents of your web page

**hypertext markup language **

Title of your web page

HTML web page contents


Contents of your web page italic Example Example **image (Tip)

Select an option:
** Option 1 ** Option 2 ** Option 3

Select an option:
** Selection 1 ** Selection 2 ** Selection 3 **

Select an option: Option 1 Option 2 Option 3 Select an option: Selection 1 Selection 2 Selection 3 Submit list item Example 1:

**List item 1 ** List item 2 ** List item 3 ****

Example 2:

**** List item 1 ** ** List item 2 ** ** List item 3 ** ** List item 4 ****

Example 1: (Tip)

 List item 1

o List item 2

 List item 3

Example 2: i. List item 1 ii. List item 2 iii. List item 3 iv. List item 4 link

(Internet Explorer) **scrolling text Example Marquee **** (Tip) **menu ** List item 1 List item 2 List item 3


 List item 1

o List item 2

 List item 3

**meta

** Nothing will show (Tip) **meta

Nothing will show (Tip)

**meta Nothing will show^ (Tip) **meta Nothing will show (Tip) **meta Nothing will show (Tip) **meta Nothing will show^ (Tip) ordered list Numbered ** List item 1 List item 2 List item 3 List item 4 ** Numbered Special Start ** List item 1 List item 2 List item 3 List item 4 ** Lowercase Letters ** List item 1 List item 2 List item 3 List item 4 ** Capital Letters ** List item 1 List item 2 List item 3 List item 4 ** Capital Letters Special Start ** List item 1 List item 2 List item 3 List item 4 ** Lowercase Roman Numerals ** List item 1 List item 2 List item 3 List item 4 ** Numbered

  1. List item 1
  2. List item 2
  3. List item 3
  4. List item 4 Numbered Special Start
  5. List item 1
  6. List item 2
  7. List item 3
  8. List item 4 Lowercase Letters a. List item 1 b. List item 2 c. List item 3 d. List item 4 Capital Letters A. List item 1 B. List item 2 C. List item 3 D. List item 4 Capital Letters Special Start C. List item 1 D. List item 2 E. List item 3 F. List item 4 Lowercase Roman Numerals i. List item 1 ii. List item 2 iii. List item 3 iv. List item 4 Capital Roman Numerals I. List item 1 II. List item 2 III. List item 3 IV. List item 4

**deleted text ** Example ****^ Example strong emphasis Example ^ Example table Example 1: **

Column 1 Column 2


Example 2: (Internet Explorer) **

Column 1 Column 2


Example 3: **

Column 1 Column 2

Row 2 Row 2


Example 1: (Tip) Column 1 Column 2 Example 2: (Tip) Column 1 Column 2 Example 3: (Tip) Column 1 Column 2 Row 2 Row 2 table data

Column 1 Column 2

Column 1 Column 2 table header

Column 1 Column 2 Column 3

Row 2 Row 2 Row 2

Row 3 Row 3 Row 3 Colum n 1 Colum n 2 Colum n 3 Row 2 Row 2 Row 2 Row 3 Row 3 Row 3 Row 4 Row 4 Row 4

Row 4 Row 4 Row 4

documen t title <title> Title of your^ HTML page Title of your web page will be viewable in the title bar.(Tip) table row


Column 1 Column 2


Column 1 Column 2

teletype Example Example

underline Example Example unordere d list Example 1:


List item 1 List item 2



Example 2:


List item 1 List item 2


List item 3 List item 4 ** ** Example 1:

 List item 1

 List item 2

Example 2:

 List item 1

 List item 2

o List item 3

o List item 4