Top Banner
Introduction to HTML
24

Introduction to html

Dec 03, 2014

Download

Technology

Ann Alcid

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to html

Introduction to HTML

Page 2: Introduction to html

What is an HTML?

Is a popular computer language that is used to create web page.

It is a coding system used to create a web pages.

It consists of markup that conveys information about the structure.

It provides instructions to the Web browser on how documents should appear.

Page 3: Introduction to html

URL

Uniform Resource LocatorIs a unique address for a file that

resides on the Internet.URL is composed of two forms:

Absolute URL Relative URL

Page 4: Introduction to html

Absolute URL

Is one that contains the name of the protocol and the hostname.

Complete internet address that takes one to the exact directory or file of a website. Also called absolute link

Example http://www.businessdictionary.com/

definition/absolute-URL.html

Page 5: Introduction to html

Relative URL

Is one that contains only the name of the path of a file. It is the one that points to a resource within the same site.

Example absolute-URL.html

Page 6: Introduction to html

To Illustrate...

RELATIVE URL ABSOLUTE URL

about.html http://WebReference.com/html/about.html

tutorial1/ http://WebReference.com/html/tutorial1/

tutorial1/2.html http://WebReference.com/html/tutorial1/2.html

/experts/ http://WebReference.com/experts/

./about.html http://WebReference.com/html/about.html

Page 7: Introduction to html

APPLICATIONS NEEDED

Text Editor or the HTML Editor

Web Browser

Page 8: Introduction to html

Text Editor

A text editor is a program that will allow you to edit plain text files

ExampleNotepadWordPadMicrosoft Word...

Page 9: Introduction to html

Web Browser

A web browser is a software application which enables a user to display and interact with text, images, videos, music and other information typically located on a Web page at a website on the World Wide Web

Example Internet Explorer Mozilla Firefox Apple Safari Konqueror Opera OmniWeb

Page 10: Introduction to html

HTML document structure

<html><head>

<title> </title></head>

<body>

</body>

</html>

Page 11: Introduction to html

HTML document structure

<html><head>

<title> </title></head>

<body>

</body>

</html>

Page 12: Introduction to html

Notes To Consider

Page 13: Introduction to html

• HTML tags are not case-sensitive.• Words enclosed in an angle

brackets, < >, are the codes or tags

Page 14: Introduction to html

• Tags always come in pairs. The second pairs has a slash (/) before the tag inside the bracket.• The slash means “stop”

Page 15: Introduction to html

• The tag with a slash is called the CLOSING TAG, while the one without a slash is called the OPENING TAG.

Page 16: Introduction to html

• The tag <html> and </html> must be placed at the start and end of every document.

Page 17: Introduction to html

• What you type in between the <body> and </body> tag are the content that will appear on the Web page.

Page 18: Introduction to html

• The text in between the <title> and </title> tag will appear on the title bar of a web browser.

Page 19: Introduction to html

To start making your own Web Page

1. Open a new file in Notepad.2. Type an HTML document structure.3. Save your work.

Page 20: Introduction to html

How to save

1. Click File, then Save As or Save.2. Save As dialog box will appear.3. Create your own folder.4. In the File Name box, type the file

name1. Take note, use .html as an extension file

5. Finally, click save.

Page 21: Introduction to html

The .html extension indicates that the file is a web page and not an ordinary

text file

Page 22: Introduction to html

To view your HTML document in Internet Explorer

1. Explore where you save your file.2. Double click the file.

Page 23: Introduction to html

To edit your page

1. Explore where you save your file.2. Right click the web page you want to

edit.3. Choose Open with...4. If notepad is not one of the

applications...5. Click on Browse...

Page 24: Introduction to html

Assignment

Topic: Paragraph, Text Break and Formatting Text

1. What is the tag use to create a paragraph, text break, and indentation?

2. What are formatting tags?3. Write 3 short poems.