Sunteți pe pagina 1din 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
CSS </td>
<html> creates a html page <tbody> body section of the table
</tr>
Media <td> table cell </tbody>
<title> shows the page name in the title bar
all <td number of columns cell spans
handheld colspan="?"> <tfoot>
print LINKS <tr>
projection <td number of rows cell should <td>
<img src="URL">* displays an image rowspan="?"> spans
screen </td>
<a href="#?">* link to anchor in current <tfoot> footer section of the table </tr>
document </tfoot>
Meta <th> table header cells
<a href="URL">* link to another
Types document <th number of columns table </table>
http-equiv colspan="?"> header cell spans
<a href="URL#?">* link to anchor in
name another document <thead> the header section of the table Input
<a email link <tr> table row Types
Lists href="mailto:EMAIL">* button
<ol> LISTS checkbox
<li> file
</li> STRUCTURE <dd> definition
hidden
</ol> <br>* line break <dl> definition list image
<code> source code listing <dt> definition term password
<ul> radio
<li> <div> Formats structure or block of text <li> item in a list reset
</li> <em> italic text <ol> ordered list submit
</ul> text
<h1>...<h6> page headings from largest to <ul> unordered list
smallest
<hr> horizontal rule FORMS
<p> paragraph <form> defines a form
<pre> preformatted text <fieldset> group of related form items
<span> Inline formatting <input form element (see input types
<strong> bold text type="?">* at right)
<sub> subscript text <option> menu item in a select box
<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

S-ar putea să vă placă și