Presentation is loading. Please wait.

Presentation is loading. Please wait.

HTML Basics Let’s Make a Web Page. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a.

Similar presentations


Presentation on theme: "HTML Basics Let’s Make a Web Page. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a."— Presentation transcript:

1 HTML Basics Let’s Make a Web Page

2 What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of markup tags HTML uses markup tags to describe web pages HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of markup tags HTML uses markup tags to describe web pages

3 HTML Tags HTML tags are keywords surrounded by angle brackets like HTML tags normally come in pairs like and The first tag in a pair is the start tag, the second tag is the end tag Start and end tags are also called opening tags and closing tags HTML tags are keywords surrounded by angle brackets like HTML tags normally come in pairs like and The first tag in a pair is the start tag, the second tag is the end tag Start and end tags are also called opening tags and closing tags

4 HTML Documents = Web Pages HTML documents describe web pages HTML documents contain HTML tags and plain text HTML documents are also called web pages HTML documents describe web pages HTML documents contain HTML tags and plain text HTML documents are also called web pages

5 Let’s Make a Web Page Open a new Notepad document Type the following HTML code: My First Heading My first paragraph Save the notepad document as first_page.txt Save the document as first_page.htm Open a new Notepad document Type the following HTML code: My First Heading My first paragraph Save the notepad document as first_page.txt Save the document as first_page.htm

6 HTM or HTML Extension? When you save an HTML file, you can use either the.htm or the.html extension. Most web developers use.htm in our examples. It is a habit from the past, when the software only allowed three letters in file extensions. With new software it is perfectly safe to use.html. When you save an HTML file, you can use either the.htm or the.html extension. Most web developers use.htm in our examples. It is a habit from the past, when the software only allowed three letters in file extensions. With new software it is perfectly safe to use.html.

7 HTML Element Syntax An HTML element starts with a start tag / opening tag An HTML element ends with an end tag / closing tag The element content is everything between the start and the end tag Some HTML elements have empty content Empty elements are closed in the start tag Most HTML elements can have attributes An HTML element starts with a start tag / opening tag An HTML element ends with an end tag / closing tag The element content is everything between the start and the end tag Some HTML elements have empty content Empty elements are closed in the start tag Most HTML elements can have attributes

8 Examples of Elements This is my first paragraph This is my first paragraph

9 Don't Forget the End Tag This is a paragraph

10 Formatting Examples Let’s look at some examples of html tags.examples Go to: http://www.w3schools.com/html/html_ex amples.asp Fill out your HTML tag worksheet while we look at the examples. Let’s look at some examples of html tags.examples Go to: http://www.w3schools.com/html/html_ex amples.asp Fill out your HTML tag worksheet while we look at the examples.

11 Your Turn You are going to create your first web page using HTML. Your web page should look similar to this when you are done.this You are going to create your first web page using HTML. Your web page should look similar to this when you are done.this


Download ppt "HTML Basics Let’s Make a Web Page. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a."

Similar presentations


Ads by Google