1 / 14

CS 195 Web Development I

CS 195 Web Development I. HTML Basics. HTML Reference. Sizzling HTML Jalfrezi http://www.jalfrezi.com http://freespace.virgin.net/sizzling.jalfrezi/iniframe.htm. FYI: What is Jalfrezi?.

kamala
Download Presentation

CS 195 Web Development I

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. CS 195Web Development I HTML Basics

  2. HTML Reference • Sizzling HTML Jalfrezi • http://www.jalfrezi.com • http://freespace.virgin.net/sizzling.jalfrezi/iniframe.htm

  3. FYI: What is Jalfrezi? • "Jalfrezi" is a curry from India. The name comes from jhal frezi which means dry fry. The dish was traditionally made to use up the leftover scraps of meat in the Raj and chilies were added, especially in the hot South, to mask any 'odd' flavors. It is now a very popular dish (a particular favorite of the author of the Sizzling HTML Jalfrezi web site), served in just about all Indian restaurants in the UK.

  4. What is HTML? • HyperText Markup Language • Web page formatting language • Consists of codes (called tags) that determines the layout of a web page. • Some determine the formatting and layout of text. • Some specify the inclusion and positioning of other objects found in other files (such as graphics).

  5. Tag Syntax • Opening tag: <tagname parameters> • Ending tag: </tagname> • Parameter syntax parameterName=“value”

  6. Two Notes: • HTML is NOT case sensitive. • HTML is NOT line sensitive.

  7. Minimal HTML Framework <html> <head> -------stuff------- </head> <body> -------stuff------- </body> </html>

  8. Two Primary <head> Tags <title>Page Title</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

  9. <body> Tag Parameters • Defines the page color scheme. bgcolor=“color-number-or-name” text =“color-number-or-name” link =“color-number-or-name” vlink =“color-number-or-name” alink =“color-number-or-name”

  10. Specifying HTML Colors • Color Names • http://developer.netscape.com/docs/manuals/htmlguid/colortab.htm • Color Numbers • #rrggbb

  11. The Normal Paragraph Tag • <p> … </p> • Parameter: • align=“left” (default) • align=“right” • align=“center” • Example: • <p align=“center”>Welcome!</p>

  12. Heading Paragraph Tags • Six sizes … • Largest: <h1> … </h1> • Larger: <h2> … </h2> • Large: <h3> … </h3> • Small: <h4> … </h4> • Smaller: <h5> … </h5> • Smallest: <h6> … </h6>

  13. Text Style Tags • Bold: <b> … </b> • Italic: <i> … </i> • Underline: <u> … </u> • Monospaced: <tt> … </tt>

  14. Creating a Web Page • Create a folder for the web site. • Create HTML file with a text editor. • View it in browsers.

More Related