1 / 18

HTML BASICS

HTML BASICS. 7.1 Format HTML tags Identify HTML guidelines 7.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create lists using HTML View an HTML document 7.3 Insert images using HTML Insert links using HTML Debug and test a Web page.

Download Presentation

HTML BASICS

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. HTML BASICS • 7.1 • Format HTML tags • Identify HTML guidelines • 7.2 • Organize Web site files and folder • Use a text editor • Use HTML tags and attributes • Create lists using HTML • View an HTML document • 7.3 • Insert images using HTML • Insert links using HTML • Debug and test a Web page

  2. HTML Coding 7.1 Guide to 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

  3. HTML Coding 7.1 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. HTML tag Text contained between two angle brackets (< >) that tells the Web browser how to display a page’s content.

  4. HTML Coding 7.1 HTML Tags starting tag The first of a pair of HTML tags; also known as an opening tag. ending tag The last of a pair of HTML tags; also known as a closing tag. nested tag An HTML tag that is enclosed within another set of tags. empty tag An HTML tag that requires only an opening tag; also known as an orphan tag. HTML tags often come in starting and ending tag sets. Nesting tags refers to placing the tags in particular order. Empty tags do not require an ending tag.

  5. HTML Coding 7.1 HTML Guidelines 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.

  6. HTML Coding 7.1 HTML Guidelines Viewing source code will allow you to see the text and the HTML commands used to create the Web site. source code The text and HTML commands used to create the Web page.

  7. Using a Text Editor 7.2 Guide to 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

  8. Using a Text Editor 7.2 Organizing Files and Folders 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.

  9. Using a Text Editor 7.2 Using Notepad Notepad can be used as a text editor for creating Web sites. When you save a file for the first time in Notepad, use the Save As function to name the file and choose the 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.

  10. Using a Text Editor 7.2 Adding Attributes using HTML • Some HTML tags can contain attributes to specify the tags 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.

  11. Using a Text Editor 7.2 Creating Lists Using HTML Creating lists can make text easier to read and add visual interest to a page. 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. unordered list A list that contains items that can appear in any order.

  12. Using a Text Editor 7.2 Viewing an HTML Page 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.

  13. Enhancing and Testing Your Page 7.3 Guide to 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 text link graphic link anchor tag absolute link relative link debugging testing

  14. Enhancing and Testing Your Page 7.3 Adding Images Using HTML • You can insert images into pages using the <img> tag and assign the five common attributes: • Source (src) • Alternative text (alt) • Align (align) • Width (width) • Height (height)

  15. Enhancing and Testing Your Page 7.3 Inserting Links Using HMTL • There are several different types of links using HTML. • 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. text link A type of link in which users click text to activate the link. graphic link A type of link in which users click on an image to activate the link.

  16. Enhancing and Testing Your Page 7.3 Inserting Links Using HMTL Text and graphic links are either absolute or relative. absolute link A type of link that contains the complete URL or path of the file being linked to. relative link A type of link that is used when linking to a local file, such as one within the same Web site.

  17. Enhancing and Testing Your Page 7.3 Testing a Web Page You should debug and test your Web site often to make sure that the page displays properly and all links are connected correctly. debugging The process of locating and correcting errors in a Web site’s HTML code. testing The process of repeatedly checking the Web page and site to make certain that elements display as designed.

  18. Enhancing and Testing Your Page 7.3 HTML and the W3C The World Wide Web Consortium (W3C) releases specifications, called recommendations, on HTML. You can read the complete specifications on the W3C Web site. The specifications developed by this governing body help ensure that Web designers create pages that follow specific standards and can be displayed by any browser that also follows these specifications.

More Related