Presentation is loading. Please wait.

Presentation is loading. Please wait.

Prepared by Dr. Maher Abuhamdeh 2014/2015 First semester

Similar presentations


Presentation on theme: "Prepared by Dr. Maher Abuhamdeh 2014/2015 First semester"— Presentation transcript:

1 Prepared by Dr. Maher Abuhamdeh 2014/2015 First semester
Web Design 2 Using PHP Prepared by Dr. Maher Abuhamdeh 2014/2015 First semester

2 Course overview Course Outline Instructions Overview Of HTML

3 What is HTML? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup Language A markup language is a set of markup tags HTML documents are described by HTML tags Each HTML tag describes different document content.

4 A web Browser A web browser can read HTML files and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses them to interpret the content of the page. HTML describes the structure of a website

5 Small HTML document <!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html>

6 Example Explained The DOCTYPE declaration defines the document type
The text between <html> and </html> describes the web document The text between <body> and </body> describes the visible page content The text between <h1> and </h1> describes a heading The text between <p> and </p> describes paragraph Using the description, a web browser can display a document with a heading and a paragraph

7 HTML tags normally come in pairs like <p> and </p>
The first tag in a pair is the start tag, the second tag is the end tag The end tag is written like the start tag, but with a slash before the tag name . Note: The start tag is often called the opening tag. The end tag is often called the closing tag.

8 Web Browsers The purpose of a web browser (Chrome, IE, Firefox, Safari) is to read HTML documents and display them. The browser does not display the HTML tags, but uses them to determine how to display the document as this.

9 HTML Versions Version Year HTML 1991 HTML + 1993 HTML 2.0 1995
1997 HTML 4.01 1999 XHTML 2000 HTML 5.0 2012

10 Advantages of HTML: 1. First advantage it is widely used. 2. Every browser supports HTML language. 3. Easy to learn and use. 4. It is by default in every windows so you don't need to purchase extra software.

11 Disadvantages of HTML:
1. It can create only static and plain pages so if we need dynamic pages then HTML is not useful. 2. Need to write lot of code for making simple webpage. 3. Security features are not good in HTML. 4. If we need to write long code for making a webpage then it produces some complexity

12 HTML Documents All HTML documents must start with a type declaration: <!DOCTYPE html>. The HTML document itself begins with <html> and ends with < /html>. The visible part of the HTML document is between <body> and </body

13 HTML headings HTML headings are defined with the <h1> to <h6> tags: Example <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3>

14 HTML Links HTML links are defined with the <a> tag: Example
<a href=" is a link</a>

15 Lab Activates (Example 1)
This is heading 1 This is heading 2 This is heading 3 This is heading 4 This is heading 5 This is heading 6

16 Example 2 This is a link ( link to

17 Example 3 HTML Tables number First Last Name points 1 Eve Jackson 94 2
John Doe 80 3 Adam Johnson 67 4 Jill Smith 50

18 Example 4(Bold) This text is normal. This text is bold.


Download ppt "Prepared by Dr. Maher Abuhamdeh 2014/2015 First semester"

Similar presentations


Ads by Google