Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.

Slides:



Advertisements
Similar presentations
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Advertisements

Web Development & Design Foundations with XHTML
HTML: HyperText Markup Language Hello World Welcome to the world!
Teppo Räisänen LIIKE/OAMK 2010
Chapter 2 HTML Basics Key Concepts
Computer Science 1611 Internet & Web Creating Webpages Hypertext and the HTML Markup Language.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
HTML: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
HTML (HyperText Markup Language)
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
1 HTML intro The development of HTMLThe development of HTML The transition from HTML to XHTMLThe transition from HTML to XHTML XHTML syntax, tags, and.
1.  Describe the anatomy of a web page  Format the body of a web page with block-level elements including headings, paragraphs, lists, and blockquotes.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
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.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
Getting Started with HTML Please use speaker notes for additional information!
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML Codes Miss B.
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,
HTML: Hyptertext Markup Language Doman’s Sections.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
HTML Basics. HTML Introduction Stands for HyperText Markup Language. HTML files are plain text files with mark ups. Some characteristics of HTML: –No.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
HTML Introduction. Lecture 7 What we will cover…  Understanding the first html code…  Tags o two-sided tags o one-sided tags  Block level elements.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2- part 2 Key Concepts 1 Copyright © Terry Felke-Morris.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with 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.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Creating Your 1 st Web Page. Tags Refers to anything between on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing.
INT222 – Internet Fundamentals
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
HTML Basics.
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5 8th Edition
Elements of HTML Web Design – Sec 3-2
3.00cs HTML Overview 3.00cs Develop webpages.
Web Development & Design Foundations with HTML5 8th Edition
Essential Tags Web Design – Sec 3-3
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Elements of HTML Web Design – Sec 3-2
COMPUTING FUNDAMENTALS
3.02D HTML Overview 3.02 Develop webpages.
Marking Up with XHTML Tags describe how a web page should look
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Marking Up with XHTML Tags describe how a web page should look
The Most Basic HTML Page
Marking Up with XHTML Tags describe how a web page should look
Basics of Web Design Chapter 2 HTML Basics Key Concepts
3.02D HTML Overview 3.02 Develop webpages.
Lesson 2: HTML5 Coding.
4.02A HTML Overview 4.02 Develop web pages using various layouts and technologies. (Note to instructor: HTML tags are in red only to differentiate from.
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Marking Up with XHTML Tags describe how a web page should look
Creating Web Documents
Presentation transcript:

Basics of HTML Shashanka Rao

Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters. 4. Lists 5. Div tag 6. Anchor Elements

HTML Overview Markup language consists of a set of directions that tell the browser how to display and manage a web document. HTML is a set of markup symbols or codes placed in a file that is intended for display on a web page. HTML permits platform-independent display of information across a network

Each individual markup code is referred to as an element or tag. Tags are enclosed in angle brackets, symbols Most tags come in opening and closing pair. For Ex: There are a few self contained tags that do not have matching end tags. For Ex: Most tags can be modified with attributes that further describe their purpose.

Document Structure

Document Type Definition Multiple types oh HTML and XHTML exists, W3C recommends identifying the type of markup language used in the web page document with a Document Type Definition(DTD) The DTD identifies the version of HTML in your document. The DTD statement, known as “doctype” statement is placed at top of web page document.

Head, Body, Title and Meta Elements The head element contains the head section which is enclosed within and tags The head section consists of a minimum of two other sections- title and meta The first element in the head section is the title element which configures the text that will appear on the title bar of the browser. The text between and tags is called the title of the web page.

The meta element describes the characteristics of a web page such as character encoding. The meta tag is a standalone tag Character encoding is an internal representation of letters, numbers and symbols in a file such as web page or a file that is stored on a computer that may be transmitted over the internet. The commonly used character encoding is utf-8 which is form of unicode. Ex: HTML meta tag The body element contains the body section enclosed in and Let’s have a look at sample page MyFirstHTML.htmlMyFirstHTML.html

Heading, Paragraph Elements and Special Characters Heading elements are organized in 6 levels: h1 through h6 The text contained within the header element is displayed as “block” of text by the browser with empty white space above and below. The text size of h1 is largest and it is smallest for h6 Let us look at an example MyHeaderHTML.htmlMyHeaderHTML.html

Paragraph elements are used to group sentences and sections of text together. Text that is contained within and displays as a block with empty white space above and below it. The web page by default is left aligned. The attribute “align” can be used to modify the alignment. The line break element causes the browser to move to next line before displaying the element. It s a stand alone element denoted by Let us look at use of paragraph elements MyParaExample.html MyParaExample.html

In order to use special characters such as quotation marks, greater than or less than symbols in your web page document, you need to use special characters or entity characters. Common special characters are:

Lists- Unordered and ordered lists Unordered Lists An unordered lists displays a bullet, or list marker before each entry in the list. Each unordered list is within and tags. Each list item begins with and ends with tag. Ordered lists An ordered list displays a numbering or lettering system to itemize the information in the list. Each list is within and tags Each item in the list is within and tags. Ex: MyLists.htmlMyLists.html

Div tag A div element configures a structural block area or “division” on a web page, with empty white space above and below. The div elements begins with a tag and ends with a tag. The div tag can contain other block display elements such as, and other elements. Let’s see an example: MyDiv.htmlMyDiv.html

Anchor Elements Anchor elements are used to specify a hyperlink, referred to as link to another web page or file which needs to be displayed. The text between and tags can be clicked to perform hyperlink. The “href” attribute is used to configure hyperlink reference which identifies name and location of the file. Ex: MyRef.htmlMyRef.html Absolute HyperlinkRelative Hyperlink Indicates the absolute location of a resource on the web. Generally used to link resources on other websites. The hyperlink location is relative to the page currently being displayed.

References 1.Fluency5 + HTML 5, Pearson ISBN: W3 Schools: