Presentation is loading. Please wait.

Presentation is loading. Please wait.

Basic HTML. Lesson Overview In this lesson, you will learn to:  Write HTML code using a text editor application such as Notepad.  View Web pages created.

Similar presentations


Presentation on theme: "Basic HTML. Lesson Overview In this lesson, you will learn to:  Write HTML code using a text editor application such as Notepad.  View Web pages created."— Presentation transcript:

1 Basic HTML

2 Lesson Overview In this lesson, you will learn to:  Write HTML code using a text editor application such as Notepad.  View Web pages created with HTML code.  Create a comment within an HTML document.  Format text within a Web page.  Creates tags with attributes.

3 Web Page Structure  HTML is an example of a publishing language for the Internet  HHyper  TText  MMarkup  LLanguage

4 Viewing Web Sites  Web browsers  Internet Explorer  Mozilla Firefox  Netscape Navigator  Apple Safari  And others  Web sites may appear differently when viewed in different browsers

5 Tags and Attributes It’s time to learn how HTML tags are used to create Web pages. All HTML pages begin with the html (the html must be included inside the brackets) tag and end with the /html (the /html must be included inside the brackets). Considering the huge amount of information on the Internet, Web pages are created from a surprisingly small number of tags, and you will find that they are easy to learn and use. The HEAD element (delineated by the head and /head tags) comes next and serves as a box or container that can hold a variety of other elements, including the TITLE element. The TITLE element contains the words that appear on the title bar or page tab in the browser window. In this example, “Tags and Attributes” is the title.

6 Create an HTML file  Save the code that you just created as “tags.html”  The extension.html designates a file to be opened by a browser  Access the file and open it

7

8 How will the following examples of text be displayed by a Web browser?  How would this text look different? bolded text (deprecated)  Does this look any different? strong or bolded text  How would this text be displayed? italicized text (deprecated)  Same as italicized? italicized text  This tag might be useful for titles. underlined text  How would this tag change things? text color would be red

9 Text size  Text size can be altered by the use of tags This tag creates large text Creates a slightly smaller text Is smaller yet, but still large Starts getting smaller Now the text is getting small And finally, this is the smallest

10 Creating a Break Browsers ignore the use of the “enter” key To force the browser to place text on the next line use the “break” tag No closing tag is needed for this tag in HTML

11 Creating a Paragraph vs. … places the text on the next line … creates a block or paragraph of text

12 Creating a Comment Why would a Web designer want to use a comment? Comments can be created using code Comments do not show in the Web page when viewed


Download ppt "Basic HTML. Lesson Overview In this lesson, you will learn to:  Write HTML code using a text editor application such as Notepad.  View Web pages created."

Similar presentations


Ads by Google