SlideShare a Scribd company logo
HTML CHEAT SHEET
Template                                  SYNTAX                                             HEAD                          Table
        <html>     Basic                                               <link rel="stylesheet" href="?"      external CSS   <table>
       <head>                                                          type="text/css"> *                   link
                   HTML: <tag></tagclose> or <tag>
<title></title>                                                                                                            <thead>
                   XHTML: <tag></tagclose> or <tag />                  <script language="Javascript"        embedded
   Meta Tags                                                                                                               <tr>
                   With an Attribute                                   type="text/javascript">              javascript
          CSS                                                                                                              <th>
   JavaScript      HTML: <tag attribute="?">                           <meta http-equiv="content-type"      meta           </th>
      </head>      XHTML: <tag attribute="?" / >                       content="?"; charset="?">*           information    </tr>
       <body>                                                                                                              </thead>
      Content                                                                               TABLES
      </body>                              BASIC                                                                           <tbody>
      </html>      <body> the visible portion of the page              <caption>         table caption                     <tr>
                                                                       <table>           defines a table                    <td>
                   <head> portion not displayed on the page
                                                                                                                           </td>
                   <html>     creates a html page                      <tbody>           body section of the table
      CSS                                                                                                                  </tr>
                   <title>    shows the page name in the title bar     <td>              table cell                        </tbody>
     Media
                                                                       <td                number of columns cell spans
           all                                                         colspan="?">                                        <tfoot>
   handheld                                LINKS                                                                           <tr>
        print                                                          <td                number of rows cell should       <td>
                   <img src="URL">*              displays an image     rowspan="?">       spans
   projection                                                                                                              </td>
      screen       <a href="#?">*                link to anchor in     <tfoot>            footer section of the table      </tr>
                                                 current document                                                          </tfoot>
                                                                       <th>              table header cells
                   <a href="URL">*               link to another
                                                 document              <th                number of columns table          </table>
       Meta                                                            colspan="?">       header cell spans
      Types        <a href="URL#?">*             link to anchor in
                                                 another document      <thead>           the header section of the table
   http-equiv
                   <a                            email link            <tr>               table row                        Input
       name
                   href="mailto:EMAIL">*                                                                                   Types
                                                                                             LISTS                         button
      Lists                           STRUCTURE                                                                            checkbox
                                                                       <dd>           definition
                                                                                                                           file
         <ol>      <br>*           line break                          <dl>           definition list                       hidden
          <li>     <code>         source code listing                                                                      image
                                                                       <dt>           definition term
         </li>                                                                                                             password
        </ol>      <div>          Formats structure or block of text   <li>           item in a list
                                                                                                                           radio
                   <em>           italic text                          <ol>           ordered list                         reset
         <ul>                                                                                                              submit
                   <h1>...<h6> page headings from largest to           <ul>           unordered list
          <li>                                                                                                             text
                                smallest
         </li>
        </ul>      <hr>           horizontal rule                                           FORMS
                   <p>            paragraph                            <form>            defines a form
         <dl>      <pre>          preformatted text                    <fieldset>         group of related form items
        <dd>       <span>         Inline formatting                    <input            form element (see input types
       </dd>
                   <strong>       bold text                            type="?">*        at right)
        <dt>
       </dt>       <sub>          subscript text                       <option>          menu item in a select box
        </dl>      <sup>          superscript text                     <select>          drop-down list
                                                                       <textarea>        multi-row text area
                                         FRAMES
                   <frame>              defines a single frame                     SPECIAL CHARACTERS
                   <frameset>           frame document                 &nbsp;         non-breaking space
                   <iframe>             inline frame                   &quot;         quotation mark
                                                                       &amp;          ampersand
                                                                       &lt;           less than sign
                                                                       &gt;           greater than sign




                  * Note: Does not require a closing tag

More Related Content

PDF
Html5 cheat-sheet
DOC
Bolile aparatului digestiv
PPTX
Studi Kelayakan Bisnis Pariwisata - Sumber Daya Alam
PPTX
Mutu pelayanan kesehatan
PDF
6. Ciri sektor kesehatan dan karakteristik pelayanan kesehatan.pdf
PPTX
Puterea si Rolul Mass-Mediei
PPTX
PPT HERITAGE DAN ARSITEKTUR YOGYAKARTA.pptx
PPTX
مراجعة لدروس HTML 5 السابقة
Html5 cheat-sheet
Bolile aparatului digestiv
Studi Kelayakan Bisnis Pariwisata - Sumber Daya Alam
Mutu pelayanan kesehatan
6. Ciri sektor kesehatan dan karakteristik pelayanan kesehatan.pdf
Puterea si Rolul Mass-Mediei
PPT HERITAGE DAN ARSITEKTUR YOGYAKARTA.pptx
مراجعة لدروس HTML 5 السابقة

Viewers also liked (6)

PPT
Introduction to html
KEY
HTML presentation for beginners
PDF
HTML Email
PPT
Introduction to HTML
PPT
Introduction to html
PDF
Html / CSS Presentation
Introduction to html
HTML presentation for beginners
HTML Email
Introduction to HTML
Introduction to html
Html / CSS Presentation
Ad

Similar to Html cheat sheet (20)

PDF
Html Help Sheet 02
 
PDF
H T M L Help Sheet
PDF
Html Cheat Sheet
PDF
Html cheat-sheet
PPTX
Unit 1wt
PPTX
Unit 1wt
PPTX
PPTX
Html and css
PDF
Html5 poster
DOC
web technologiesUnit 1
PDF
Html5 cheat sheet
PDF
Web I - 03 - Tables
PPSX
What is HTML5?
PDF
Zen codingcheatsheet
PDF
Xhtml tags reference
DOCX
Campers Packet
KEY
Artdm171 Week4 Tags
PDF
HTMLcheatsheet.pdf
PDF
HTMLcheatsheet.pdf
Html Help Sheet 02
 
H T M L Help Sheet
Html Cheat Sheet
Html cheat-sheet
Unit 1wt
Unit 1wt
Html and css
Html5 poster
web technologiesUnit 1
Html5 cheat sheet
Web I - 03 - Tables
What is HTML5?
Zen codingcheatsheet
Xhtml tags reference
Campers Packet
Artdm171 Week4 Tags
HTMLcheatsheet.pdf
HTMLcheatsheet.pdf
Ad

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
cuic standard and advanced reporting.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Spectroscopy.pptx food analysis technology
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Electronic commerce courselecture one. Pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Cloud computing and distributed systems.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Empathic Computing: Creating Shared Understanding
Spectral efficient network and resource selection model in 5G networks
cuic standard and advanced reporting.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Per capita expenditure prediction using model stacking based on satellite ima...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Spectroscopy.pptx food analysis technology
Network Security Unit 5.pdf for BCA BBA.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Encapsulation_ Review paper, used for researhc scholars
Electronic commerce courselecture one. Pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Dropbox Q2 2025 Financial Results & Investor Presentation
Cloud computing and distributed systems.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Advanced methodologies resolving dimensionality complications for autism neur...

Html cheat sheet

  • 1. HTML CHEAT SHEET Template SYNTAX HEAD Table <html> Basic <link rel="stylesheet" href="?" external CSS <table> <head> type="text/css"> * link HTML: <tag></tagclose> or <tag> <title></title> <thead> XHTML: <tag></tagclose> or <tag /> <script language="Javascript" embedded Meta Tags <tr> With an Attribute type="text/javascript"> javascript CSS <th> JavaScript HTML: <tag attribute="?"> <meta http-equiv="content-type" meta </th> </head> XHTML: <tag attribute="?" / > content="?"; charset="?">* information </tr> <body> </thead> Content TABLES </body> BASIC <tbody> </html> <body> the visible portion of the page <caption> table caption <tr> <table> defines a table <td> <head> portion not displayed on the page </td> <html> creates a html page <tbody> body section of the table CSS </tr> <title> shows the page name in the title bar <td> table cell </tbody> Media <td number of columns cell spans all colspan="?"> <tfoot> handheld LINKS <tr> print <td number of rows cell should <td> <img src="URL">* displays an image rowspan="?"> spans projection </td> screen <a href="#?">* link to anchor in <tfoot> footer section of the table </tr> current document </tfoot> <th> table header cells <a href="URL">* link to another document <th number of columns table </table> Meta colspan="?"> header cell spans Types <a href="URL#?">* link to anchor in another document <thead> the header section of the table http-equiv <a email link <tr> table row Input name href="mailto:EMAIL">* Types LISTS button Lists STRUCTURE checkbox <dd> definition file <ol> <br>* line break <dl> definition list hidden <li> <code> source code listing image <dt> definition term </li> password </ol> <div> Formats structure or block of text <li> item in a list radio <em> italic text <ol> ordered list reset <ul> submit <h1>...<h6> page headings from largest to <ul> unordered list <li> text smallest </li> </ul> <hr> horizontal rule FORMS <p> paragraph <form> defines a form <dl> <pre> preformatted text <fieldset> group of related form items <dd> <span> Inline formatting <input form element (see input types </dd> <strong> bold text type="?">* at right) <dt> </dt> <sub> subscript text <option> menu item in a select box </dl> <sup> superscript text <select> drop-down list <textarea> multi-row text area FRAMES <frame> defines a single frame SPECIAL CHARACTERS <frameset> frame document &nbsp; non-breaking space <iframe> inline frame &quot; quotation mark &amp; ampersand &lt; less than sign &gt; greater than sign * Note: Does not require a closing tag