.

HTML Cheat Sheet πŸ”₯ — The Most Useful HTML Tags πŸš€

Hey Devs, This is the most complete and well-structured HTML cheatsheet you can find online!! So let’s start.

Basic Tags

Formatting

— Creates a new paragraph
— Inserts a line break (carriage return) — Puts content in a quote — indents text from both sides — Used to format block content with CSS Used to format inline content with CSS

Body attributes

— Sets background color, using a name or hex value — Sets text color, using name or hex value — Sets color of links, using name or hex value — Sets the color of visited links, using a name or hex value — Sets the color of active links (while mouse-clicking)

Lists

— Creates an unordered list — Creates an ordered list (start=xx, where xx is a counting number) — Encompasses each list item — Creates a definition list — Precedes each definition term — Precedes each definition

Text Tags

— Creates preformatted text —> — Creates headlines — H1=largest, H6=smallest — Creates bold text (should use instead) — Creates italicized text (should use instead) — Creates typewriter-style text — Used to define source code, usually monospace — Creates a citation, usually processed in italics — Creates address section, usually processed in italics — Emphasizes a word (usually processed in italics) — Emphasizes a word (usually processed in bold) — Sets size of font — 1 to 7 (should use CSS instead) — Sets font color (should use CSS instead) — Defines the font used (should use CSS instead)

Π§ΠΈΡ‚Π°ΠΉΡ‚Π΅ Ρ‚Π°ΠΊΠΆΠ΅:  Table display in java

Graphical elements


— Inserts a horizontal rule


— Sets size (height) of horizontal rule
— Sets width of rule (as a % or absolute pixel length)
— Creates a horizontal rule without a shadow — Adds image; it is a separate file located at the URL — Aligns image left/right/center/bottom/top/middle (use CSS) — Sets size of border surrounding image (use CSS) — Sets height of image, in pixels — Sets width of image, in pixels ?— Sets the alternate text for browsers that can’t process images (required by the ADA)

clickable text — Creates a hyperlink to a Uniform Resource Locator clickable text — Creates a hyperlink to an email address — Creates a target location within a document clickable text — Creates a link to that target location

Forms

— Defines a form — Creates a scrolling menu. Size sets the number of menu items visible before user needs to scroll. — Creates a pulldown menu — Sets off each menu item — Creates a text box area. Columns set the width; rows set the height. — Creates a checkbox. — Creates a checkbox which is pre-checked.` — Creates a radio button. — Creates a radio button which is pre-checked. — Creates a one-line text area. Size sets length, in characters. — Creates a submit button. Value sets the text in the submit button. — Creates a submit button using an image. — Creates a reset button

HTML5 input tag attributes

— Sets a single-line textbox for email addresses — Sets a single-line textbox for URLs — Sets a single-line textbox for a number — Sets a single-line text box for a range of numbers — Sets a single-line text box with a calendar showing the date/month/week/time — Sets a single-line text box for searching — Sets a single-line text box for picking a color

Tables

— Creates a table — Sets off each row in a table — Sets off each cell in a row — Sets off the table header (a normal cell with bold, centered text)

Table attributes

The ultimate HTML Tags Cheat Sheet πŸ”₯πŸš€

DevLorenzo ・ Feb 21 ・ 3 min read

Hope this helped and thanks for reading! Please smash that like button and share this article with others πŸ™‚ Don’t Forget To Follow Me On Twitter and @garvitmotwani

Π˜ΡΡ‚ΠΎΡ‡Π½ΠΈΠΊ

Purpose and Placement of
HTML Commands

We offer this table as a quick reference to supplement the HTML tutorial. It shows the commands, a brief statement of their use, which attributes can modify them, and which commands they can inhabit or include, but it doesn’t go over the basics of HTML syntax. If you’re new to HTML, visit Spin Doctor’s Web Design 101 first.

name=»key» of key/value pair.
content=»value» of key/value pair. indicates the full URL of the current document href=»URL» allows you to select a title that will appear in the title bars of browser windows and in bookmarks (default is the actual filename of your document) Body

Top Next>>
Formatting
Top Next>>
.
centers
enclosed
text

. or

.

.
.
.
.
.
.
.
.
.
.

.

the value for the size attribute can be a number from 1 to 7 (default is 3), or (in quotation marks) a number relative to the current size, e.g. «+2".


.
.
.
.
..
.
.
.
.
.

.

.

.
.
.
, , or

.
.
.
.

.

.

.

.
.
.

.

or

. . tells browser to emphasize
enclosed text
.
tells browser to place stronger emphasis on enclosed text
.
a citation . distinguishes text to be typed
.
sample text . renders text in monospaced typewriter font . puts the text in italics
.
preformatted

opens an indented list item (with a number, in an ordered list,
or a
bullet, in an unordered list) type= sets the type of marker (1, A, a, i, disc, circle, square) introducing each list item
value= allows you to set the number or letter of an ordered list item .
em strong code samp kbd var cite tt . i

ol ul dir menu dl

.

.

dir menu ol ul these tags mark the terms and definitions (respectively) in a definition list
.
Tables
Top Next>>
.
creates a table Netscape extensions:
border=
(width, in pixels, of the border to be drawn around the table. a value of FRAME will enclose just the outside of the table; BASIC, the border and cells)
cellpadding= (spacing between the contents of the cell and the cell borders)
cellspacing= (size of the lines dividing the data cells) width= (width in pixels or a percentage of the window) .

.

table . Hypertext

Top Next>>
. creates a link to another document or to another segment of the same document href=»URL» or «file» or «#name» of subfile in the document

name=»name of subfile in this document»

rel, rev, urn, title, methods

.
.
.
.
.
.
.
.
.
. .

.

b cite code , or

  • .
    ..
    .
    .

    .
    .
    .
    .

    .

    or

    . Images
    Top Next>>
    loads an inline image ismap=
    src=
    alt=»text»
    Netscape extensions:
    align texttop/ absmiddle /baseline /bottom,
    vspace
    hspace
    width
    height
    border
    lowsrc=»https://transaction.net/web/tutor/file%20to%20be%20loaded%20with%20the%20main%20document» .
    .

    .
    cite code , , or

  • em
    . i kbd p samp strong tt var Forms

    Top Next>>
    .
    creates a form action=»URL» of script to process form input
    method=»get» or «post» how the input will
    be sent to the gateway on the server side
    enctype=
    «application/ x-www-form-urlencoded» only one value possible right now . p, lists, pre,

    .

    , isindex table hr address input select textarea

    .

    .or

  • .

    or

    . input widget for a form type=»(checkbox/ hidden/ radio /reset /submit /text /image)»
    name=»name of this item as passed to the script (in name/value pair),»
    value=»default value (for text or hidden widget);
    value to be submitted with the form (for a checkbox or radio button);
    or label (for Reset or Submit buttons)»
    src=»source file for an image»,\
    checked indicates that checkbox or radio button is checked
    size=»size in chars of text widget»
    maxlength=»no of characters in a text field»
    align=«(texttop/ absmiddle /baseline /bottom,)»
    .
    multiline text entry widget name=» (name to be passed to the script as part of name/value pair)»
    rows=»no. of rows»
    cols=»(no. of cols.)»
    .
    creates a menu or scrolling list of possible items name=name of data field
    size=#of items to display
    multiple allows multiple selections
    .
    indicates a possible item within a select widget selected=default selection
    value=»data submitted if this option is selected» Breaks, Headings, and Titles
    Top
    allows you to select a title
    that will appear above your browser window
    (default is the actual filename of your document) inside
    .

    .

    .

    .

    .

    .

    .
    marks six levels of headings
    (1 is largest;
    6 smallest) align=center (3.0) . img
    br em strong code samp kbd var cite tt . i

    .

    .

    .

    .

    .

    .

    or

    . creates a paragraph

    break .
    and

    em strong code samp kbd var cite tt . i

    .

    .or

  • .
    forces
    a
    line
    break clear=right, left, all (3.0) .

    .

    .
    cite
    code
    , or

  • .
    em
    i
    kbd

    ,

    .

    samp
    strong
    tt
    var draws a horizontal rule line Netscape extensions:
    size=(in pixels, the width of the line itself)
    width=(in pixels, or a «#%» of the screen, the width traversed by the line)
    align=(horizontal placement of the line, if it doesn’t cross the entire screen)
    noshade eliminates the line’s shadow

    .

    . ,

    .

    ,

    .

    ,

    .

    Π˜ΡΡ‚ΠΎΡ‡Π½ΠΈΠΊ

  • ΠžΡ†Π΅Π½ΠΈΡ‚Π΅ ΡΡ‚Π°Ρ‚ΡŒΡŽ