Cheat codes

545 views
516 views

Published on

Published in: Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
545
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cheat codes

  1. 1. CHEAT CODES Part-1
  2. 2. FOUNDATION TAGS <ul><li>GENERAL COMMENTS: These tags are the foundation of a web page, and as such they must be included in every page. </li></ul><ul><li><!DOCTYPE ... </li></ul><ul><li><html> ... </html> </li></ul><ul><li><head> ... </head> </li></ul><ul><li><title> ... </title> </li></ul><ul><li><body> ... </body> </li></ul>
  3. 3. COMMONLY USED TAGS <ul><li>GENERAL COMMENTS: Keeping with the goal of 'real-world-web design', this page of HTML CODES starts with the tags that are by far the most often used. </li></ul><ul><li><p>...</p> —Paragraph </li></ul><ul><li><a href=&quot;URL&quot;>...</a> —Hyperlink </li></ul><ul><li><div> ... </div> —Div Tag </li></ul><ul><li><span> ... </span> —Span Tag </li></ul><ul><li><h1> ... <h1> —Header h1-h6 </li></ul>
  4. 4. <ul><li><img src=&quot;...&quot; border=&quot;0&quot; /> —Image Tag </li></ul><ul><li>LIST TAGS </li></ul><ul><li><ol><li> ... </li></ol> </li></ul><ul><li><ul><li> ... </li></ul> </li></ul><ul><li><dl><dt>...</dt> <dd>... </dd> </dl> —Definition List Tags </li></ul>
  5. 5. TABLE TAGS <ul><li>GENERAL COMMENTS: Tables should not be used for page layout; you should be using CSS. Tables should only be used to display tabular data - data (ex: a price list) that you might see in a spread sheet. </li></ul><ul><li><table> ... </table> —Root Table Tag </li></ul><ul><li>cellpadding=&quot;#&quot; —Space b/w cells </li></ul><ul><li>cellspacing=&quot;#&quot; —Space b/w table cells </li></ul><ul><li>width=&quot;# or %&quot; —Sets horizontal width of table </li></ul>
  6. 6. SUB TABLE TAGS <ul><li><tr> ... </tr>— Creates a row in the table </li></ul><ul><li><td> ... </td>— Creates a cell in the table row </li></ul><ul><li><td colspan=#>—Sets number of columns a cell should span </li></ul><ul><li><td rowspan=#> —Sets number of rows a cell should span </li></ul><ul><li><th> ... </th> —Creates a cell with the text bold and centered </li></ul>
  7. 7. To be continued… <ul><li> By PixelCrayons </li></ul>

×