Cheat codes
Upcoming SlideShare
Loading in...5
×
 

Cheat codes

on

  • 705 views

 

Statistics

Views

Total Views
705
Views on SlideShare
705
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Cheat codes Cheat codes Presentation Transcript

  • CHEAT CODES Part-1
  • FOUNDATION TAGS
    • GENERAL COMMENTS: These tags are the foundation of a web page, and as such they must be included in every page.
    • <!DOCTYPE ...
    • <html> ... </html>
    • <head> ... </head>
    • <title> ... </title>
    • <body> ... </body>
  • COMMONLY USED TAGS
    • 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.
    • <p>...</p> —Paragraph
    • <a href=&quot;URL&quot;>...</a> —Hyperlink
    • <div> ... </div> —Div Tag
    • <span> ... </span> —Span Tag
    • <h1> ... <h1> —Header h1-h6
    • <img src=&quot;...&quot; border=&quot;0&quot; /> —Image Tag
    • LIST TAGS
    • <ol><li> ... </li></ol>
    • <ul><li> ... </li></ul>
    • <dl><dt>...</dt> <dd>... </dd> </dl> —Definition List Tags
  • TABLE TAGS
    • 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.
    • <table> ... </table> —Root Table Tag
    • cellpadding=&quot;#&quot; —Space b/w cells
    • cellspacing=&quot;#&quot; —Space b/w table cells
    • width=&quot;# or %&quot; —Sets horizontal width of table
  • SUB TABLE TAGS
    • <tr> ... </tr>— Creates a row in the table
    • <td> ... </td>— Creates a cell in the table row
    • <td colspan=#>—Sets number of columns a cell should span
    • <td rowspan=#> —Sets number of rows a cell should span
    • <th> ... </th> —Creates a cell with the text bold and centered
  • To be continued…
    • By PixelCrayons