HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.

Slides:



Advertisements
Similar presentations
Introduction to HTML & CSS
Advertisements

Hyper Text Markup Language.  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
WeB application development
Website Design.
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
XHTML Basics.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
MR.Mohammed Sharaf al Shareef
Made by: Dan Ye. Introduction Basic Last Page ☆ HTML stands for Hyper Text Markup Language; ☆ HTML is not a programming language, it is a markup language;
HTML Elements. HTML documents are defined by HTML elements.
HTML BASIC
Chapter 14 Introduction to HTML
Computer Sciences Department
Tutorial 1: Getting Started with HTML5
Review HTML  What is HTML?  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
HTML. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
DAT602 Database Application Development Lecture 14 HTML.
CS 299 – Web Programming and Design Introduction to HTML.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
HTML Structure & syntax
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
HTML. WHAT IS HTML 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.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
HTML INTRODUCTION. What is HTML?  HTML stands for Hypertext Markup Language  Developed in 1990  Hidden code that helps us communicate with others on.
Basic HTML PowerPoint How Hyper Text Markup Language Works
Introduction to HTML. Slide 1 Hard-Coding What is hard-coding? –Creating the page in a text editor just using HTML A Web designer should know how to hard-
Hypertext Mark-Up Language Web Page Creation HTML.
XHTML and CSS Session 1 Intro, (X)HTML, CSS, W3C, browsers, webpage, structure, tags, attributes, elements, web development process, basic XHTML elements.
CSC 330 E-Commerce Teacher Ahmed Mumtaz Mustehsan Ahmed Mumtaz Mustehsan GM-IT CIIT Islamabad GM-IT CIIT Islamabad CIIT Virtual Campus, CIIT COMSATS Institute.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
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.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
IDK0040 Võrgurakendused I harjutus 01: Introduction Deniss Kumlander.
HTML Basic. 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.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
HTML Hyper Text Markup Language 1BFCET BATHINDA. Definitions Web server: a system on the internet containing one or more web site Web site: a collection.
Introduction to HTML Year 8. What is HTML O Hyper Text Mark-up Language O The language that all the elements of a web page are written in. O It describes.
COMP303 - Internet Based Programming
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
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.
Behind every site is a mix of special languages that your web browser understands The main way of describing any website is HTML HTML stands for Hyper.
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
Hyper Text Markup Language.  My First Heading My first paragraph. Example Explained The DOCTYPE declaration defines the document type The text between.
CITE303 - Internet Based Programming Lecture notes: Week 1 Instructor:Dr. Tolgay KARANFİLLER.
HTML Structure & syntax
HTML Structure & syntax
Basic HTML Introduction to HTML.
Pertemuan 1 Desain web Pertemuan 1
Introduction to HTML.
HTML.
3.00cs HTML Overview 3.00cs Develop webpages.
Introduction to XHTML.
WEBSITE DESIGN Chp 1
3.02D HTML Overview 3.02 Develop webpages.
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Web Application Development
Pertemuan 1 Desain web Pertemuan 1
3.02D HTML Overview 3.02 Develop webpages.
HTML Structure & syntax
HTML Introduction.
Presentation transcript:

HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES

WHAT IS HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of markup tags The tags describes document content HTML documents contain HTML tags and plain text HTML documents are also called web pages Apep Kamaludin, MT. |

HTML TAGS HTML markup tags are usually called HTML tags HTML tags are keywords (tag names) 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 The end tag is written like the start tag, with a forward slash before the tag name Start and end tags are also called opening tags and closing tags Apep Kamaludin, MT. | content

HTML ELEMENTS "HTML tags" and "HTML elements" are often used to describe the same thing. But strictly speaking, an HTML element is everything between the start tag and the end tag, including the tags: HTML Element: Apep Kamaludin, MT. | This is a paragraph.

WEB BROWSERS The purpose of a web browser (Chrome, Internet Explorer, Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page: Apep Kamaludin, MT. |

HTML PAGE STRUCTURE Below is a visualization of an HTML page structure: This a Heading This is a paragraph. This is another paragraph. Apep Kamaludin, MT. |

HTML VERSIONS VersionYear HTML1991 HTML+1993 HTML HTML HTML XHTML HTML52012 XHTML52013 Apep Kamaludin, MT. |

THE DECLARATION There are many different documents on the web, and a browser can only display an HTML page 100% correctly if it knows the HTML type and version used. The declaration helps the browser to display a web page correctly. Common Declarations HTML5 HTML 4.01 XHTML 1.0 Apep Kamaludin, MT. |

HTML EDITORS Writing HTML Using Notepad or TextEdit HTML can be edited by using a professional HTML editor like: Adobe Dreamweaver Microsoft Expression Web CoffeeCup HTML Editor However, for learning HTML we recommend a text editor like Notepad (PC) or TextEdit (Mac). We believe using a simple text editor is a good way to learn HTML. Apep Kamaludin, MT. |

HTML EDITORS Follow the 4 steps below to create your first web page with Notepad. Step 1: Start Notepad To start Notepad go to: Start All Programs Accessories Notepad Apep Kamaludin, MT. |

HTML EDITORS Step 2: Edit Your HTML with Notepad Type your HTML code into your Notepad: Apep Kamaludin, MT. |

HTML EDITORS Step 3: Save Your HTML Select Save as.. in Notepad's file menu. When you save an HTML file, you can use either the.htm or the.html file extension. There is no difference, it is entirely up to you. Save the file in a folder that is easy to remember, like w3schools. Apep Kamaludin, MT. |

HTML EDITORS Step 4: Run the HTML in Your Browser Start your web browser and open your html file from the File, Open menu, or just browse the folder and double-click your HTML file. The result should look much like this: Apep Kamaludin, MT. |

HTML BASIC HTML Headings HTML headings are defined with the to tags. Example This is a heading This is a heading This is a heading Apep Kamaludin, MT. |

HTML BASIC HTML Paragraphs HTML paragraphs are defined with the tag. Example This is a paragraph. This is another paragraph. Apep Kamaludin, MT. |

HTML BASIC HTML Links HTML links are defined with the tag. Example This is a link Note: The link address is specified in the href attribute. (You will learn about attributes in a later chapter of this tutorial). Apep Kamaludin, MT. |

HTML BASIC HTML Images HTML images are defined with the tag. Example Note: The filename and the size of the image are provided as attributes. Apep Kamaludin, MT. |

HTML ELEMENTS HTML documents are defined by HTML elements. An HTML element is everything from the start tag to the end tag: * The start tag is often called the opening tag. The end tag is often called the closing tag. Apep Kamaludin, MT. | Start tag *Element contentEnd tag * This is a paragraph This is a link

HTML ELEMENTS 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 Tip: You will learn about attributes in the next chapter of this tutorial. Apep Kamaludin, MT. |

HTML ELEMENTS Nested HTML Elements Most HTML elements can be nested (can contain other HTML elements). HTML documents consist of nested HTML elements. Apep Kamaludin, MT. |

HTML ELEMENTS HTML Document Example This is my first paragraph. The example above contains 3 HTML elements. Apep Kamaludin, MT. |

HTML ELEMENTS Don't Forget the End Tag Some HTML elements might display correctly even if you forget the end tag:<p>This is a paragraph The example above works in most browsers, because the closing tag is considered optional. Never rely on this. Many HTML elements will produce unexpected results and/or errors if you forget the end tag. Apep Kamaludin, MT. |

HTML ELEMENTS Empty HTML Elements HTML elements with no content are called empty elements. is an empty element without a closing tag (the tag defines a line break). Tip: In XHTML, all elements must be closed. Adding a slash inside the start tag, like, is the proper way of closing empty elements in XHTML (and XML). Apep Kamaludin, MT. |

HTML ELEMENTS HTML Tip: Use Lowercase Tags HTML tags are not case sensitive: means the same as. Many web sites use uppercase HTML tags. W3Schools use lowercase tags because the World Wide Web Consortium (W3C) recommends lowercase in HTML 4, and demands lowercase tags in XHTML. Apep Kamaludin, MT. |

HTML ATTRIBUTES HTML elements can have attributes Attributes provide additional information about an element Attributes are always specified in the start tag Attributes come in name/value pairs like: name="value" Apep Kamaludin, MT. |

HTML ATTRIBUTES Attribute Example HTML links are defined with the tag. The link address is specified in the href attribute: Example This is a link Apep Kamaludin, MT. |

HTML ATTRIBUTES Always Quote Attribute Values Attribute values should always be enclosed in quotes. Double style quotes are the most common, but single style quotes are also allowed. Tip: In some rare situations, when the attribute value itself contains quotes, it is necessary to use single quotes: name='John "ShotGun" Nelson' Apep Kamaludin, MT. |

HTML ATTRIBUTES HTML Tip: Use Lowercase Attributes Attribute names and attribute values are case- insensitive. However, the World Wide Web Consortium (W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation. Newer versions of (X)HTML will demand lowercase attributes. Apep Kamaludin, MT. |