Lecturer (Dept. of Computer Science)

Slides:



Advertisements
Similar presentations
HTML Basics 1450 Technology Seminar Copyright 2003, Matthew Hottell.
Advertisements

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.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
CS105 Introduction to Computer Concepts HTML
Introduction to HTML. Topics HTML –What is HTML –Parts of an HTML Document –HTML Tags.
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.
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.
Introduction to HTML 1 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.
Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio.
HTML,DHTML & Javascript/Session1/1 of 39 Introduction and Basic Tags Session 1 of Using HTML, DHTML & JavaScript.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
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.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software 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 HyperText Markup Language ©Richard L. Goldman July 15, 2003.
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.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
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
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.
HTML Basics.
Creating a Web Page CSC 121.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
CGS 3066: Lecture 2 Web Development and HTML5
Marking Up with XHTML Tags describe how a web page should look
Introduction to basic HTML
HTML: HyperText Markup Language
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
HTML5 – Heading, Paragraph
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
HTML Formatting.
CGS 3066: Web Programming and Design Spring 2016
Chapter 1: Introduction to XHTML (part 1)
Introduction to XHTML.
Chapter 4 - Introduction to XHTML: Part 1
Tag Basics.
COMPUTING FUNDAMENTALS
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Computers and Scientific Thinking David Reed, Creighton University
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
CGS 3066: Lecture 2 Web Development and HTML5
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Introduction to HTML- Basics
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Chapter 4: Marking Up With HTML: A Hypertext Markup Language Primer
WEB & HTML Background Info.
Marking Up with XHTML Tags describe how a web page should look
HyperText Markup Language
HTML Basics Mr. Fazzalari.
Marking Up with XHTML Tags describe how a web page should look
WJEC GCSE Computer Science
Marking Up with XHTML Tags describe how a web page should look
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

Lecturer (Dept. of Computer Science) Introduction to HTML Mr. Mubashir Ali Lecturer (Dept. of Computer Science) dr.mubashirali1@gmail.com

Mubashir Ali - Lecturer (Department of Computer Science) Outline Introduction to HTML Basic Structure of a HTML page Text formatting tags in HTML Lists in HTML Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 1. Introduction to HTML… 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 Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 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 http://www.w3c.org Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 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 1995- 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 Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 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 Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 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 < and ends with close angle bracket > For example <HTML> Paired Tags : <HTML> </HTML> Singular Tags: <BR> Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 1. Introduction to HTML… HTML is not case-sensitive multiple spaces will appear as a single space Blank and new lines are ignored <!-- comments -- > HTML files have .html extension Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 2. Structure of HTML Page The entire web page is enclosed within <HTML> and </HTML> Within these tags two distinct sections are created head and body Head: <HEAD> <TITLE> …… </TITLE> </HEAD> . Body: indicate the start and end of main body of textual information <BODY> </BODY> Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 2. Structure of HTML Page… First HTML page: Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 3. The BODY Tag Attributes: BGCOLOR: Change the background color BACKGROUND: Place an image at background TEXT: Change the color of the body text Example: <BODY BGCOLOR=123345 TEXT=Red> <BODY BACKGROUND=“img.jpg” TEXT=Red> Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 4. Formatting text Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) Formatting Text…... Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 4. Formatting text… <P>….. </p>: starts a new paragraph Align (left, right, center and justify) <BR>: gives an one line break <H1> ….. </H1>: heading <HR>: draws horizontal line ALIGN (LEFT,CENTER,RIGHT) SIZE=2 WIDTH=100% color Text Styles: <B> …. </B> , <I> …. </I>, <U> …. </U> Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 4. Formatting text… <CENTER>….</CENTER> <FONT>……</FONT> FONTFACE: Sets the specified font name SIZE: Size of the text (between 1 and 7) COLOR: Set the color of the text Example: <FONT FONTFACE=“COMIC SANS MS” SIZE=6 COLOR=RED> Welcome</FONT> Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 5. Lists in HTML Un-ordered Lists: Starting Tag <UL>, Ending Tag </UL> List Items <LI> Type (FILLROUND, SQUARE) Ordered Lists: Starting Tag <OL>, Ending Tag </OL> List Items <LI> Type (“1”, “A”, ‘”a”, ”I”, ”i”) Start (Alerts the numbering Sequence) Value (Changes the number sequence in the middle of an ordered list) Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) 5. Lists in HTML… Definition Lists: Starting Tag<DL> Ending Tag </DL> Definition Term <DT> Definition Description <DD> Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) Summary What is HTML? Basic Structure of HTML page Body tag attributes Text formatting tags Lists Mubashir Ali - Lecturer (Department of Computer Science)

Mubashir Ali - Lecturer (Department of Computer Science) References Chapter 1, Beginning HTML, XHTML,CSS, and JavaScript, by Jon Duckett, Wiley Publishing; 2009, ISBN: 978-0-470-54070-1. http://www.w3schools.com/html Mubashir Ali - Lecturer (Department of Computer Science)