HTML Cheat Sheet helps for Beginners HTML Developer. This HTML cheat sheet gives you a quick reference for commonly used tags, what they do, how to use them. Here are created as a quick guide for those who already know how to work with these languages.
Basic HTML Structure
<meta href="http://www.gurujisepuchoo.com/" target="_blank">
<link rel="stylesheet" href="/css/style.css">
content of website ...
The tag show up at the beginning and end of an HTML document. It indicates that the webpage is written in HTML5, and all other page markup comes in between these beginning and ending tags.
The title tag is the title page. useful for both serach engines and users by explicitly stating the primary topic of each page.
The contains information that specific page, including the title tags, meta data, and links to scripts and style sheets.
Body tags include all content that will be shown to users, including they all see and read.
Meta data spells out information about the page, including the page’s description, author, published date, keywords and other typically ‘hidden’ page information.
This element includes document style information, typically defaulting to css.
This element includes all scripting information, or links to external scripts. You can also include this element in the body to dynamically generate content.
Can be used to a create relationships with external pages or documents, including style sheets.
Common Tags For Text Formatting
All six levels of heading, with 1 being the most important on a page and 6 being the least. These elements are used to describe content sections on a page.
This tag use to Paragraph of Text.
Another way to create bold text, however it’s more for drawing attention as opposed to emphasizing extra emphasis like the previous tag.
Another way to add italics to text, however without the added emphasis and instead used to denote things like thoughts or names.
The emphasis tags also are like they sound, emphasizing text or phrases displayed as italics in most browsers.
This tag creates strike through test with a line. Another older tag not commonly supported.
Pre-formatted taxt laid out with whilespace inside the element intact.
Helps denote a previously deleted section of text.
Font tag ols-school way to colour fonts. No longer part of HTML5.
Reserved for paragraphs of quotations, often cited.
<a href="">..... </a>
Anchor text for hyperlink.
<a name="name">..... </a>
An anchor that’s useful for bringing users to specific document elements.
<a href="tel://0987654321">..... </a>
A link to make phone numbers clickable, especially useful for mobile users.
<a href="maolto:">..... </a>
A link used to pull up an outgoing message to a spacific email address.
An image tag to include and display image file.
Exactly like it sounds. THe url or file of the images to display.
Alternative text that helps explain the image content to both search engines and users.
The ability to specify image height in pixels or percentages.
The ability to specify image width in pixels or percentages.
Explains the border thickness(if any).
Denote spacing on the top or bottom of image.
Denote spacing on top or bottom of image.
Helpes you tell users that this is an interactive images with clickable areas.
<map name="">..... </map>
Name of the map associated between the image and the map.
Specify the aera of images map
Create numbered lists showing sequential order, perference or priority.
Dispaly a bulleted list without any extra emphasis on order of importance.
Specifies ecah list item to be bulleted or numbered.
Reserved specifically for list items definitions.
The definition of a single term inline with body content.
The description for the defined term.
Froms Formatting and attributes use
The form element creates a form, spelling out how the form will operate based on il’s attributes.
The form action URL specifies where data is to be sent when a site visitor submits the form.
The method attribute refes to the HTTP method, which dictates how to send the form data.
This attribute dictates how the form-data is to be enconded when submitting information back to the web sever.
Dicates whether a form should have autocomplete on or off.
Dicates wherher the form should not be vaildated when submitted.
Identifies the character encodings upon the form submission.
Tells where to dispaly the form response after being submitted generally one of the following:_blank, _self, _parent, _top.
Identifies the group of all fields on the form.
A simple filed label, telling the user what to enter in each filed.
The form legendacts as a caption for the fieldset element.
The form input attribute defines the types of field information to receive from a user.
Specifies the field input type, typically including text, password, date-time, checkbox, password submit ect.
Describes the name of the form.
Describes the value or input field information.
Specifices the input elements width in characters.
indentifies the maximum input element character numbers allowed.
Another helpfully explicit tag, making sure th ⁢input> element is completely filled out prior to the user submitting the form
Identifies the legal number intervals for an input field.
Specifies the width in pixels of an <input> element.
Dictates the height again, in pixels of an <input> element.
Provides a helpful hint to the user, describing what the <input> element value should be.
identifies a regular expression that the <input> element gets checked against, making sure the user entered the correct information.
The minimum value allowed for each <input> element.
Says to make sure that the <input> element comes into focus after the page loads.
Disables an <input> element on the form.
Specifies a large text input for longer messages.
Describes a drop-down box for user’s to select one from a variety of options.
The table tag identifies and contains all table related content.
The caption is a description of what the table is, and what it contains.
The table headers describe the type of infomation contained in each column underneath.
The table body contains the table’s data or information.
Table footers describle all footer content.
Contains the information to be included in a single row of the table.
Contains the actual information or data in a single header item.
contains the actual information or data in a single table cell.
groups a single or multiple columns for formatting purposes.
Defines a single column of information inside a table
Objects and Iframes
The object tag describes an embedded the file type, including audio, video, additional pages and more.
Describes the height of the object in pixels.
Describes which media type the data contains
Describes which media type the data contains.
This is the name of a client-side image map within <object>
The name of iframe
The URL source of the original document to embed inside the iframe.
This contains tha actual HTML content to display inside the iframe on the currnet page.
Defines the width of your iframe
Appending extra parameters help you customize the iframe content.
The embed tag acts as a container for another external application or additional plug-in.
HTML5 New Tags
Defines the header block for a document or individual section.
Indentifies the footer block for the document.
Describes the main content of a document.
Identifies an article inside a document.
Specifies content contained in a document sidebar.
Specifies a section block in the document.
Describes additional facts or information that the user can view or hide.
A dialog box or window.
An independent content block featuring diagrams, photos or more.
Displays a portion of highlighted text within the page content.
Navigation links for the user in a document.
The specifi menu item that a user can raise from a popup menu.
Describes the scalar measurement within a known array.
Display the progress of a task, usually used for progress bar.
Displays text within browsers that do not support ruby annotations.
Display East Asian typography character details.
Describes a ruby annotation for East Asian typgraphy.
Contains a visible heading for a details element.
Helps you format part of text in a different direction from other text.
Idenifies the time and date.
A line-break within tje content.