Download presentation
Presentation is loading. Please wait.
Published byElmer Neal Modified over 9 years ago
1
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create lists using HTML View an HTML document YOU WILL LEARN TO…
2
4 HTML Basics YOU WILL LEARN TO… Section 4.3 Insert images using HTML Insert links using HTML Debug and test a Web page Section 4.4 Re-create an existing HTML document in Dreamweaver Test a Web page in Dreamweaver
3
Section Learning Target 4.1 Format HTML tags Identify HTML guidelines
4
Section http://www.howcast. com/videos/474912 -HTML-Tutorial- What-Is-HTML
5
Section 4.1 HTML Coding Focus on Reading Main Ideas An HTML document is composed of instructions, or tags. These tags tell Web browsers how to display the content contained in a Web page. The World Wide Web Consortium establishes guidelines and standards for using HTML. Key Terms Hypertext Markup Language (HTML) HTML tag starting tag ending tag nested tag empty tag source code pp. 98-101
6
Section 4.1 HTML Coding HTML Tags Hypertext Markup Language (HTML) Knowing Hypertext Markup Language (HTML) will help you understand how Web site development applications like Dreamweaver work. HTML tags You create Web page documents by inserting HTML tags into a text document. Hypertext Markup Language (HTML) The code used to create Web pages. (p. 98) HTML tag Text contained between two angle brackets ( ) that tells the Web browser how to display a page’s content. (p. 98) pp. 98-101
7
Section 4.1 HTML Coding HTML Tags startingending tag HTML tags often come in starting tag and ending tag sets. starting tag The first of a pair of HTML tags; also known as an opening tag. (p. 98) ending tag The last of a pair of HTML tags; also known as a closing tag. (p. 98) pp. 98-101
8
Section 4.1 HTML Coding HTML Tags Nested tags Nested tags refers to the order in which HTML tags appear. Empty tags Empty tags do not require an ending tag. nested tag An HTML tag that is enclosed within another set of tags. (p. 99) empty tag An HTML tag that requires only an opening tag; also known as an orphan tag. (p. 99) pp. 98-101
9
Section The World Wide Web Consortium (W3C) develops specifications for the use of HTML and other programming languages that are used on the Internet. These specifications help to ensure that all Web pages can be displayed by any browser that follows W3C specifications. 4.1 HTML Coding HTML Guidelines and Standards pp. 98-101
10
Section Understanding and using the basic guidelines for HTML code will help you see the relationship between the code you write and what you see in the Web browser. For example, extra spaces between elements in an HTML document will not necessarily display in a Web browser. 4.1 HTML Coding HTML Guidelines and Standards pp. 98-101
11
Section 4.1 HTML Coding HTML Guidelines and Standards You can see the HTML commands used to create any Web page by viewing its source code You can see the HTML commands used to create any Web page by viewing its source code. source code The text and HTML commands used to create the Web page. (p. 101) pp. 98-101
12
Section 4.1 HTML Coding pp. 98-101 Evaluate An HTML tag that is enclosed within another set of tags is called what type of tag? A. a starting tag B. an empty tag C. an ending tag D. a nested tag Section Assessment
13
Section Complete Pg. 101 #1-5 in your notes
14
Section Learning Target 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create lists using HTML View an HTML document
15
Section 4.2 Using a Text Editor Focus on Reading Main Ideas You can use a text editor to create text documents that can be displayed in a Web browser. These documents must contain HTML commands. Always organize your folders and files carefully when creating a Web site. Key Terms file name extension attribute ordered list unordered list pp. 102-108
16
Section Every Web site is composed of folders and files. Whether you use a text editor or a Web site development application, you must keep your files organized. 4.2 Using a Text Editor Organizing Files and Folders pp. 102-108
17
Section 4.2 Using a Text Editor Using Notepad Notepad can be used as a text editor for creating Web sites. file name extension When you save an HTML document in Notepad, use the Save As function to name the file and choose the.html file name extension. file name extension The three or four characters after a period in a file name that tell the computer system what type of file it is reading. (p. 103) pp. 102-108
18
Section 4.2 Using a Text Editor Adding Attributes using HTML attributes Some HTML tags can contain attributes to specify a tag’s characteristics. Some attributes include: Font color Background color Heading Alignment attribute An HTML instruction that is included in an HTML tag to specify a characteristic of a Web page element. (p. 104) pp. 102-108
19
Section 4.2 Using a Text Editor Creating Lists Using HTML Lists help make text easier to read and add visual interest to a page. ordered lists unordered lists There are two types of lists: ordered lists and unordered lists. ordered list A type of list that contains items, usually numbered, that must appear in a particular sequence. (p. 106) unordered list A list that contains items that can appear in any order; also known as a bulleted list). (p. 106) pp. 102-108
20
Section With text editors you cannot see how your page will appear in a Web browser while you are creating it. You must save the HTML document and then view it in a browser. 4.2 Using a Text Editor Viewing an HTML Page pp. 102-108
21
Section Activity 4A – Create Folders to Organize a Site (p. 102) Activity 4B – Create and Saving an HTML Document (p. 104) Activity 4C – Add Color and Format Text Using HTML (p. 106) Activity 4D – Create an Unordered List Using HTML (p. 107) Activity 4E – View HTML in a Browser (p. 108) 4.2 Using a Text Editor pp. 102-108
22
Section 4.2 Using a Text Editor Analyze Which file name extension should you choose when you save an HTML file in Notepad? A..html B..doc C..xls D..mlth A..html pp. 102-108 Section Assessment
23
Section Learning Target 4.3
24
Section 4.3 Enhancing and Testing Your HTML Page Focus on Reading Main Ideas Use image tags to insert graphics using HTML. You can create links by using an anchor tag to specify the clickable area. A link can be absolute or relative. Web pages must be tested. Key Terms anchor tag text link graphic link relative link absolute link debugging testing pp. 109-114
25
Section You can insert images into pages using the tag and assign these common attributes: Source ( src ) Alternative text ( alt ) Align ( align ) Border ( border ) Width ( width ) Height ( height ) src=“images/book.gif” alt=“Books” align=“center” border=“0” width=“40” height=“30”> 4.3 Adding Images Using HTML pp. 109-114 Enhancing and Testing Your HTML Page
26
Section 4.3 Inserting Links Using HMTL There are different types of HTML links. Anchor tag ( ) Text link Graphic link anchor tag An HTML tag used to create hyperlinks. The tag identifies what is clicked on and where it links to. (p. 110) text link A type of link in which users click text to activate the link. (p. 111) graphic link A type of link in which users click an image to activate the link. (p. 111) pp. 109-114 Enhancing and Testing Your HTML Page
27
Section 4.3 Inserting Links Using HMTL relative absolute Text and graphic links are either relative or absolute. The anchor tag set uses the href (short for Hypertext Reference) attribute to tell the Web browser where it needs to link to. relative link A type of link that is used when linking to a local file, such as one within the same Web site. (p. 111) absolute link A type of link that contains the complete URL or path of the file being linked to. (p. 112) pp. 109-114 Enhancing and Testing Your HTML Page
28
Section 4.3 Testing a Web Page Debuggingtesting Debugging and testing your Web site will help you to make sure that the pages display properly and all links are connected correctly. debugging The process of locating and correcting any obvious errors in a Web site’s HTML code. (p. 113) testing The process of repeatedly checking the Web page and site to make certain that elements display as designed. (p. 113) pp. 109-114 Enhancing and Testing Your HTML Page
29
Section Activity 4F – Insert and Image Using HTML (p. 110) Activity 4G – Insert Absolute Links Using HTML (p. 112) Activity 4H – Test an HTML Document (p. 113) 4.3 pp. 109-114 Enhancing and Testing Your HTML Page
30
Section 4.3 True/False Text and graphic links are either relative or absolute. True. Text and graphics are either relative or absolute. A relative link is used when linking to a local file. An absolute link contains the complete URL or path of the of the file being linked to. pp. 109-114 Enhancing and Testing Your HTML Page Section Assessment
31
Section Learning Target 4.4
32
Section 4.4 Dreamweaver Versus Notepad Focus on Reading Main Ideas A Web site development application allows you to create Web sites by clicking buttons instead of typing HTML commands into a text document. Key Terms color palette border pp. 116-122
33
Section The major advantage of using Dreamweaver is that you can see approximately how your final page will appear while you are working on it. This allows you to make adjustments, such as changing the font size or background color, as you go. 4.4 Dreamweaver Versus Notepad Adding Color and Formatting Text in Dreamweaver pp. 116-122
34
Section 4.4 Dreamweaver Versus Notepad Adding Color and Formatting Text in Dreamweaver In Dreamweaver, there are two ways to select background colors: Enter hexadecimal numbers into the Background color box in the Page Properties dialog box. Choose a color from the Dreamweaver color palette. color palette A menu of colors available in the Dreamweaver program. (p. 116) pp. 116-122
35
Section 4.4 Dreamweaver Versus Notepad Adding Graphics and Links border Adding a border can add visual interest to your page. border A visual break on the page that is used to add visual interest and to separate elements. (p. 120) pp. 116-122
36
Section Always spell check and proofread your Web page. Also view your Web page in more than one browser to make sure each line works properly. 4.4 Dreamweaver Versus Notepad Testing a Web Page pp. 116-122
37
Section Activity 4I – Create and Format a page in Dreamweaver (p. 117) Activity 4J – Add Headings and Unordered Lists in Dreamweaver (p. 118) Activity 4K – Insert a Graphic and Links in Dreamweaver (p. 120) Activity 4L – Test a Web Page in Dreamweaver (p. 122) 4.4 Dreamweaver Versus Notepad pp. 116-122
38
Section 4.4 Dreamweaver Versus Notepad pp. 116-122 True/False One major advantage of Dreamweaver is that it allows you to create Web sites by keying HTML commands instead of clicking buttons. False. Dreamweaver’s major advantage is that you can see how your page will turn out while you are working on it. Section Assessment
39
4 HTML Basics Identify The attributes src, alt, align, border, width, and height are all commonly used with which type of tag? A. Ordered list B. Image C. Nested D. Anchor B. Image Chapter Review
40
4 HTML Basics Analyze Why should you always test and debug your Web pages before publishing them? Debugging and testing a Web site ensures that all of the pages display properly and that all links work correctly. Chapter Review
41
4 HTML Basics Chapter Resources For more resources on this chapter, go to the Introduction to Web Design Using Dreamweaver Web site at WebDesignDW.glencoe.com. WebDesignDW.glencoe.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.