Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to HTML. A Web Page is.. An ASCII (text) file.. Whose filename ends with.htm or.html –index.html or cookie-recipe.htm Contains HTML tags.

Similar presentations


Presentation on theme: "Introduction to HTML. A Web Page is.. An ASCII (text) file.. Whose filename ends with.htm or.html –index.html or cookie-recipe.htm Contains HTML tags."— Presentation transcript:

1 Introduction to HTML

2 A Web Page is.. An ASCII (text) file.. Whose filename ends with.htm or.html –index.html or cookie-recipe.htm Contains HTML tags and the text content that is in that page.

3 HyperText Markup Language The language in which most Web pages are written An ASCII text file is marked up using HTML tags and the Web browser renders the page. HTML document has a.html or.htm extension HTML tag: item to be formatted As in: Welcome to My Page Attributes are not always available in a tag

4 Making of a HTML Page My First Page The tags and contents that make up the page body

5 Viewing Your Web Page On your local hard drive (personal viewing/previewing) On your Web account on a Web server (need to upload the file and set permissions) If you have graphics, sound files, etc. that your page refers to, you will need to upload them too

6 Tags within –When you want to place a title of the page in the title bar. –When you want to set the default font size to a size other than 3 (the default); value is 1 - 7 – or –To include additional info about the page –

7 Other HTML tags Comments: Paragraph Groupings: text separates a paragraph of text another by some vertical space (Section) Headings: through Paper Title in a Large Font Tiny subsection heading ALIGN is optional and can have a value of left, right, or center

8 Other HTML tags Boldface Word or words to be bolded or use * Italics Word or words to be in italics or use * Underline Word or words to be underlined Superscript and Subscript text text * the tag makes a page more accessible

9 An Overview of Other Useful Tags Horizontal Rules –Used to draw a horizontal line across the screen –There is no ending tag X and Y are in pixels or as a percentage of screen

10 An Overview of Other Useful Tags Ordered Lists (Numbered list) for each list item Unordered Lists (Bulleted list) for each list item

11 Image Tag text WIDTH=70> Company Percentage values are relative to the size of the browser window

12 Adding Style to Lists You can use your own graphic in place of the bullet in an unordered list – just use the image tag in place of the list item tag. item 1 item 2

13 Color Can use names or numerical values, though names can vary among browsers Numerical values are hexadecimal (base 16) representing the mixture of primary colors: hexdigit1 hexdigit2 hexdigit3 hexdigit 4 hexdigit5 hexdigit6 000000 is black, 0000FF is blue, FFD700 is gold Red Green Blue

14 Color Setting text color for whole document ….. Setting Backgrounds … or …..

15 Coloring Text ….. Refers to the text of the page Unvisited links Visited links A link that the user has placed the mouse over and pressed the button down (but not released)

16 Formatting Segments of Text To change the color of a segment of text Main Menu To change the size of a segment of text W elcome Appears as: W elcome Fonts can be changed too, but are not always supported


Download ppt "Introduction to HTML. A Web Page is.. An ASCII (text) file.. Whose filename ends with.htm or.html –index.html or cookie-recipe.htm Contains HTML tags."

Similar presentations


Ads by Google