Presentation is loading. Please wait.

Presentation is loading. Please wait.

INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,

Similar presentations


Presentation on theme: "INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,"— Presentation transcript:

1 INTRODUCTION

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 The purpose of the tags are to describe page content HTML documents describe web pages HTML documents contain HTML tags and plain text HTML documents are also called web pages

3 Web pages are commonly referred to as HTML pages or documents A markup language is a set of characters or symbols that define a document’s logical structure HTML is based on an older language called Standard Generalized Markup Language (SGML) HTML has evolved into a language that defines how elements should appear in a Web browser Understanding HTML is critical in learning how to write a web application along with the server programming

4 HTML documents are text documents that contain formatting instructions called tags HTML tags include: Formatting commands (boldface or italic) Controls that allow user input (option buttons or check boxes) Tags are enclosed in brackets ( ) and consist of an opening tag and a closing tag

5

6 Basic document structure

7 Attributes

8 Attributes go after the element name in the opening tag only, never in the end tag. There may be several attributes applied to an element, separated by spaces in the opening tag. Their order is not important. Attributes take values, which follow an equals sign (=). A value might be a number, a word, a string of text, a URL, or a measurement depending on the purpose of the attribute. Some attributes are required, such as the src and alt attributes in the img element.

9 HEAD STRUCTURE Page Title Scripting Style META information

10 BODY STUCTURE Text Images Links Multimedia and special events COMMENTS IN HTML DOCUMENTS

11 LINKS Anchor (a) The href attribute provides the address of the page (its URL) to the browser. a href="http://www.evslearning.com" target="_blank">EVS Alt= Alternating Text

12 … to …  the range of header tags used to denote headings and subheadings.  the break tag, equivalent to one carriage return.  the paragraph tag. …  the open/close approach to denote paragraph. …  the bold tag. …  the italics tag. …  the underline tag

13 …  makes a section of text appear smaller than surrounding body text. …  makes the reverse action of above tag.

14 ALIGNING TEXT …  Division element …  Starting and ending Paragraph element Following Attributes are available: Default Left Right Justify

15 Paragraph Paragraphs are the most rudimentary elements of a text document. You indicate a paragraph with the p element. Simply insert an opening tag at the beginning of the paragraph and a closing tag after it, as shown in this example.

16 LISTS There are three main types of lists in HTML: Unordered lists. Collections of items that appear in no particular order. Ordered lists. Lists in which the sequence of the items is important. Definition lists. Lists that consist of terms and definitions.

17 INTRODUCTION


Download ppt "INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,"

Similar presentations


Ads by Google