1 / 8

How to create Web Pages

How to create Web Pages. Some relevant websites. http://www.web-source.net/html_codes_chart.htm http://www.quackit.com/html/codes/ ???? http://www.w3schools.com/html/html_intro.asp http://www.w3schools.com/default.asp http://www.webmonkey.com/2010/02/html_cheatsheet/

armina
Download Presentation

How to create Web Pages

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to create Web Pages

  2. Some relevant websites • http://www.web-source.net/html_codes_chart.htm • http://www.quackit.com/html/codes/ ???? • http://www.w3schools.com/html/html_intro.asp • http://www.w3schools.com/default.asp • http://www.webmonkey.com/2010/02/html_cheatsheet/ • http://www.davesite.com/webstation/html/ (very commercial)

  3. Basic web page structure • <html> • <head> • <title>A page title</title> • </head> • <body> • (body of web page) • </body> • </html>

  4. Some basic HTML tags • For sub-headings: • <h1>heading</h1> Recognized are headings h1-h6 • h1 is largest, h6 is smallest. • Changing emphasis: • <b> (bold) • <big> • <em> (emphasis) • <i> (italic) • <small> • <strike> • <strong> • <tt> (teletype font) • <u> (underline)

  5. A few more simple HTML tags • <a href=”...”> </a> used for links • <br> breaks a line. • <center> .... </center> • <dl> <!-- definition list --> <dt>term</dt> <dd>definition</dd> <!-- repeatable --> </dl> • <font face=”<name>” size=”nr” color=”x“>...</font> • <hr width=”x%” size=”n” /> (width, size are optional) • <p align=”left/right/center”>.....</p>

  6. Unordered lists • <ul> or <ul type=”disc”> or <ul type =”circle”> • <li>List item</li> • <li>List item</li> • . • . • </ul> • Notes: • Can place lists inside lists • It is a good idea to place a <br> before and after

  7. Ordered Lists • Similar syntax to unordered lists, but are numbered/lettered. Start at 1 unless otherwise indicated. Elements indicated by <li>/</li> pairs as usual. Variants: • <ol> numbered • <ol type=”a”> lettered a. b. … • <ol type=”A”> lettered A. B. … • <ol type=”i”> lowercase roman numerals • <ol type=”I”> Capital roman numerals • Add start=”number” if need special start. Example: • <ol type=”a” start=”3”> will label the items c d e ...

  8. Tables • <table> • <tr> • <th>Heading</th><th>Heading></th>..... • </tr> • <tr> • <td>data</td><td>data</td>... • </tr> • … • </table> • Can add attributes border= cellspacing= cellpadding= to table tag. Values in pixels. (if no border attribute, table will not have a border).

More Related