Presentation is loading. Please wait.

Presentation is loading. Please wait.

C1999 Kathleen Schrock 1 Basic HTML By Kathy Schrock.

Similar presentations


Presentation on theme: "C1999 Kathleen Schrock 1 Basic HTML By Kathy Schrock."— Presentation transcript:

1 c1999 Kathleen Schrock (kschrock@capecod.net) 1 Basic HTML By Kathy Schrock

2 c1999 Kathleen Schrock (kschrock@capecod.net) 2 Part 1: Basic Web Page Production

3 c1999 Kathleen Schrock (kschrock@capecod.net) 3 Basic Web page creation n Basic HTML tags n Heading tags n Paragraph and break tags n Text alignment n Background color n Text color n Horizontal rules n Bold and italic

4 c1999 Kathleen Schrock (kschrock@capecod.net) 4 Basic HTML tags

5 c1999 Kathleen Schrock (kschrock@capecod.net) 5 Heading tags n Used to denote main headings and subheadings; go from 1 to 6 n Show relative importance of information This is H1 This is H1 This is H2 This is H2 This is H3 This is H3 This is H4 This is H4

6 c1999 Kathleen Schrock (kschrock@capecod.net) 6 Paragraph and break tags n surround a paragraph of info n Skips a line and starts a new paragraph n (single-sided tag) n Starts the next word on the next line n No space left between lines

7 c1999 Kathleen Schrock (kschrock@capecod.net) 7 Text alignment n The default is that all text is left-aligned n To align paragraphs, you can add to the paragraph tag n To center whole blocks of text, just use

8 c1999 Kathleen Schrock (kschrock@capecod.net) 8 Background color n Attribute added to the tag n There are 16 color names you can add (red, blue, yellow, etc.) or you have to know the hexadecimal code n Examples

9 c1999 Kathleen Schrock (kschrock@capecod.net) 9 Changing the text color n Same codes as for background color n Attribute of the body tag, too n Example would lead to a light blue page with dark purple text

10 c1999 Kathleen Schrock (kschrock@capecod.net) 10 The horizontal rule n Used to separate portions of a page n A one-sided tag n Can include a % attribute n Example

11 c1999 Kathleen Schrock (kschrock@capecod.net) 11 Bold and italic n Used to emphasize text n Two-sided tags n Examples This is bold This is bold This is italic This is italic

12 c1999 Kathleen Schrock (kschrock@capecod.net) 12 Part 2: Creating Lists

13 c1999 Kathleen Schrock (kschrock@capecod.net) 13 Lists n Bulleted lists n Numbered lists n Definition list

14 c1999 Kathleen Schrock (kschrock@capecod.net) 14 Bulleted (unordered) list n Good for drawing attention to items that are in no particular order Dogs* Dogs Cats* Cats

15 c1999 Kathleen Schrock (kschrock@capecod.net) 15 Numbered (ordered) lists n Great for describing sequential tasks or step-by-step procedures Phase 11. Phase 1 Phase 22. Phase 2

16 c1999 Kathleen Schrock (kschrock@capecod.net) 16 Definition list n Includes a statement of the word and followed by the definition CirrusCirrus high wispyhigh wispy NimbusNimbus darkdark

17 c1999 Kathleen Schrock (kschrock@capecod.net) 17 Part 3 : Links and Navigation

18 c1999 Kathleen Schrock (kschrock@capecod.net) 18 Links and navigation n Relative links –Links in your own directory n Absolute links –Links located on another server n Changing link color

19 c1999 Kathleen Schrock (kschrock@capecod.net) 19 Relative links n Give you the name of the file you want to access in relation to the page you are on n If index.htm and page2.htm are in the same directory, the link on the index page to page 2 would look like this n Go to page 2

20 c1999 Kathleen Schrock (kschrock@capecod.net) 20 Absolute links n Specify the entire URL to go to n Go to CNN

21 c1999 Kathleen Schrock (kschrock@capecod.net) 21 Changing the link color n If you change the background color, you may need to change the link color, too n n Link is the color before choosing n Vlink is the color of the visited link

22 c1999 Kathleen Schrock (kschrock@capecod.net) 22 Part 4: Adding Graphics

23 c1999 Kathleen Schrock (kschrock@capecod.net) 23 Graphics for your page n Adding graphics to your page n Aligning graphics n Using graphics as links n Insert a background package

24 c1999 Kathleen Schrock (kschrock@capecod.net) 24 Adding graphics to your page n Two file formats –GIF for icons and line drawings –JPEG for photographs n Try to keep graphic files under 30k n Example of adding an apple picture n n The alt tag shows up in text browsers

25 c1999 Kathleen Schrock (kschrock@capecod.net) 25 Aligning graphics on a page n By default, the next line of text starts after the graphic image n By using the align tag, the text can be next to the graphic n

26 By using the align=right tag, you can move the picture to the right side of the text and put the text next to the picture rather than below it.

27 c1999 Kathleen Schrock (kschrock@capecod.net) 27 Using graphics as links n You may use a picture as a hypertext link n n This would give you the apple picture with a blue box around it to show that it is a link; for no box, add BORDER=0

28 c1999 Kathleen Schrock (kschrock@capecod.net) 28 Inserting a background picture n Background pictures should be small gifs that tile well n

29 c1999 Kathleen Schrock (kschrock@capecod.net) 29 Part 5 : Tables

30 c1999 Kathleen Schrock (kschrock@capecod.net) 30 Parts of a table

31 c1999 Kathleen Schrock (kschrock@capecod.net) 31 Adding a border n Becomes an attribute of the TABLE tag n n Gives your table a 2 pixel border n With a border=0, you can easily create columns that are lined up and leave as much space as you wish

32 c1999 Kathleen Schrock (kschrock@capecod.net) 32 Changing the size of a table n By default, tables take up as much room as they need to hold the text n To make it a certain size, add the attribute to the TABLE tag n n You can also use these in the tag to change the size of a particular cell

33 c1999 Kathleen Schrock (kschrock@capecod.net) 33 Adding a caption n Used to tell someone what the table means n Comes after the TABLE tag n n Appears at the top of the table

34 c1999 Kathleen Schrock (kschrock@capecod.net) 34 Cell padding and spacing n Attributes of the TABLE tag n Cell spacing adds space between the cells without making the cells bigger n Cell padding adds space around the contents of a cell, pushing the walls of the cell outward n

35 c1999 Kathleen Schrock (kschrock@capecod.net) 35 Table Headings n Used to put column headings in the table

36 c1999 Kathleen Schrock (kschrock@capecod.net) 36 Spanning across columns or cells n would have data cover two columns n would have data cover two rows

37 c1999 Kathleen Schrock (kschrock@capecod.net) 37 The End


Download ppt "C1999 Kathleen Schrock 1 Basic HTML By Kathy Schrock."

Similar presentations


Ads by Google