Presentation is loading. Please wait.

Presentation is loading. Please wait.

HTML/XHTML Structure Building a basic web page using notepad.

Similar presentations


Presentation on theme: "HTML/XHTML Structure Building a basic web page using notepad."— Presentation transcript:

1 HTML/XHTML Structure Building a basic web page using notepad.

2 Document Structure <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Enter The Title Here

3 Change the Title Tag When using the template, remember to change the title tag content.

4 Tags The cat jumped over the fence. <> and Case sensitive Open and closed Empty elements must be closed Multiple tags must be properly nested The cat jumped over the fence.

5 Headings Bob fell over the chicken. [H1] Bob fell over the chicken. [H6] There are six heading sizes H1-H6 Bob fell over the chicken. [H1] Bob fell over the chicken. [H6]

6 Changing Colors This is a H1 heading with color. Example: This is a H1 heading with color. Color codes are available at http://www.w3schools.com/html/html_colors.asp http://www.w3schools.com/html/html_colors.asp

7 Background Color body {background-color: #aa1133} Enter style type tag between the head tags “Try it” editors http://www.w3schools.com/css/cs s_background.asp

8 Paragraph and Formatting Used for a block of text. It can be for one sentence or 1000. I don’t recommend a block of text of a thousand sentences. This is BOLD. This is italics. Bob and Tom are funny. Used for a block of text. It can be for one sentence or 1000. I don’t recommend a block of text of a thousand sentences. This is BOLD. This is italics. Bob and Tom are funny.

9 Horizontal Rule ___________________ ______ ______________

10 Line Breaks First sentence. Second sentence. Third sentence. Fourth sentence. First sentence. Second sentence. Third sentence. Fourth sentence. HTML will word wrap unless you use line breaks. No closing Tag First sentence. Second sentence. Third sentence. Fourth sentence. First sentence. Second sentence. Third sentence. Fourth sentence.

11 Align Attribute Align left Align center Align right Go Colts! align=left align=center align=right Example: Go Colts!

12 Center This is centered. This is centered The center tag can be used for one item or for a whole section.

13 Unordered List Monitor Keyboard CPU Speakers Mouse Monitor Keyboard CPU Speakers Mouse

14 Ordered list 1. Monitor 2. Keyboard 3. CPU 4. Speakers 5. Mouse Monitor Keyboard CPU Speakers Mouse

15 Pictures Use.jpeg Make sure image is saved in your.html folder.

16 Hyperlinks Yahoo

17 Getting Started Create a folder called your_name website Start notepad (Start →Accessories→Notepad)  Click File → Save As  Rename it your_name.html  Save it in the your_name website folder Save your image in your_name website folder Open your browser  File → Open → your_name.html → Open Keep your browser open as you work on your web page When you edit your.html, save it then go to your browser and click refresh. You will see the changes you made.

18 Final Project Create a REAL Family holiday recipe webpage (any holiday you like). Your website should include the minimum following format and structural elements (you may need to add more for aesthetic purposes):  Title  Two different heading sizes  A horizontal rule and a line break  Formatting to include bold, italics, and two different font sizes  Web link to a website related to your primary ingredient  A picture of the finished product  One ordered and one unordered list  A short description using tags  Colored background and some colored text.

19 Final Project The following criteria will influence the grading of your project. Your project:  must contain all required format and structural elements plus content.  must be done in notepad saved as an html. If you use a web editor like FrontPage or Word you will get a ZERO.  should be visually pleasing and organized.  should work. Your web link should go to a real working website. Your image should appear on your website.

20 Submitting your work. When complete, zip the contents of website folder and place the zip file into the drop box. To zip your work (in XP)  Highlight folder contents  Right click  Send to  Compressed folder The zipped file will be created in your website folder. Submit your zipped file to the drop box.

21 Helpful Links http://www.htmlgoodies.com/ http://www.htmlhelp.com/reference/html40/olist.html http://werbach.com/barebones/barebones.html http://www.w3schools.com/html/default.asp http://www.w3schools.com/html/html_colors.asp


Download ppt "HTML/XHTML Structure Building a basic web page using notepad."

Similar presentations


Ads by Google