Introduction to HTML 1 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.

Slides:



Advertisements
Similar presentations
Introduction to HTML. A Web Page is.. An ASCII (text) file.. Whose filename ends with.htm or.html –index.html or cookie-recipe.htm Contains HTML tags.
Advertisements

HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
HTML popo.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML. The World Wide Web Protocols Addresses HTML.
C HAPTER – 3 I NTRODUCTION TO H TML By :- Pinkesh H. Patel.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
Introduction to HTML CPS470 Software Engineering Fall 1998.
Marking Up With Html: A Hypertext Markup Language Primer
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Tables in HTML Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Introduction to HTML. Topics HTML –What is HTML –Parts of an HTML Document –HTML Tags.
HTML Overview Part 2 – Paragraphs, Headings, and Lines 1.
Page Layout Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
CS 299 – Web Programming and Design Introduction to HTML.
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.
History, Navigator, Screen and Form Objects Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
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 attributes Create.
Unit 1 Changing the Appearance of Text. TITLE CORNELL NOTES TOPIC: NOTES: Summary: HTML Hypertext Markup Language 1 st and last tag on a page Tags Tags.
Adding Image, audio and video files to web pages Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Exploring the Digital Domain HTML Basics. HTML Hypertext Markup Language Standard (ASCII) text with embedded format codes Most HTML tags are paired Tags.
Explorers Guild April 27, What is HTML? Hypertext Markup Language (HTML) is the basic building block of the World Wide Web page. HTML files are.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
HTML,DHTML & Javascript/Session1/1 of 39 Introduction and Basic Tags Session 1 of Using HTML, DHTML & JavaScript.
Introduction to Cascading Style-sheets (CSS) Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 1.
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
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 Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
CSS properties Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
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.
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.
LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
HTML DOM Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
CS 100 Introduction to Web Page Construction and HTML.
HTML Links and navigation Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
HTML – The Basics Rebecca Shillingburg
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Lecturer (Dept. of Computer Science)
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Introduction to XHTML.
Computers and Scientific Thinking David Reed, Creighton University
WEB & HTML Background Info.
Presentation transcript:

Introduction to HTML 1 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.

Outline Introduction to HTML Basic Structure of a HTML page Text formatting tags in HTML Lists in HTML 2 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.

HTML – Hyper-Text Markup Language – The Language of Web Pages on the World Wide Web It defines the structure of webpages and determines how data is displayed online HTML is a text formatting language Is a set of special instructions that can be added in the text to add formatting and linking information Is directly interpreted by the browser 3 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 1. Introduction to HTML…

Hypertext: – Allows for non-linear linking to other documents Markup Language: – Content is “marked up” or tagged to tell the browser how to display it HTML standards are developed under the authority of the World Wide Web Consortium (W3C), headed by Tim Lee – 4 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 1. Introduction to HTML…

HTML was created in 1991 by Tim Berners-Lee at CERN in Switzerland It was designed to allow scientists to display and share their research HTML 2 lots of browsers had added their own bits to HTML Dan Connolly and colleagues collected all the HTML tags that were widely used and collated them into a draft document 5 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 1. Introduction to HTML…

1997- HTML 3.2 It was the first version developed and standardized exclusively by the W3C HTML 3.2 included the support for applets, text flow around images, subscripts and superscripts etc 1999 – HTML 4.1 extends HTML with mechanisms for style sheets, scripting, frames etc. HTML5 6 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 1. Introduction to HTML…

HTML Tags: Tags are instruction that are directly embedded into the text of the document Is a signal to a browser to do something before just throwing text on the screen Begin with open angle bracket – For example Paired Tags : Singular Tags: 7 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 1. Introduction to HTML…

HTML is not case-sensitive multiple spaces will appear as a single space Blank and new lines are ignored HTML files have.html extension 8 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 1. Introduction to HTML…

The entire web page is enclosed within and Within these tags two distinct sections are created head and body Head: ……. Body: indicate the start and end of main body of textual information 9 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 2. Structure of HTML Page

10 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 2. Structure of HTML Page… First HTML page:

Attributes: BGCOLOR: Change the background color BACKGROUND: Place an image at background TEXT: Change the color of the body text Example: 11 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 3. The BODY Tag

12 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 4. Formatting text

Formatting Text… Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.

….. : starts a new paragraph Align (left, right, center and justify) : gives an one line break ….. : heading : draws horizontal line ALIGN (LEFT,CENTER,RIGHT) SIZE=2 WIDTH=100% color Text Styles: …., …., …. 14 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 4. Formatting text…

…. …… – FONTFACE: Sets the specified font name – SIZE: Size of the text (between 1 and 7) – COLOR: Set the color of the text Example: – Welcome 15 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 4. Formatting text…

Un-ordered Lists: – Starting Tag, Ending Tag – List Items – Type (FILLROUND, SQUARE) Ordered Lists: – Starting Tag, Ending Tag – List Items – Type (“1”, “A”, ‘”a”, ”I”, ”i”) – Start (Alerts the numbering Sequence) – Value (Changes the number sequence in the middle of an ordered list) 16 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 5. Lists in HTML

Definition Lists: – Starting Tag – Ending Tag – Definition Term – Definition Description 17 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. 5. Lists in HTML…

What is HTML? Basic Structure of HTML page Body tag attributes Text formatting tags Lists 18 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. Summary

Chapter 1, Beginning HTML, XHTML,CSS, and JavaScript, by Jon Duckett, Wiley Publishing; 2009, ISBN: Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan. References