SlideShare a Scribd company logo
1 of 19
Download to read offline
Introduction to HTML
Mr. Mubashir Ali
Lecturer (Dept. of Computer Science)
dr.mubashirali1@gmail.com
1
Lecture 03
Outline
• Introduction to HTML
• Basic Structure of a HTML page
• Text formatting tags in HTML
• Lists in HTML
2
Mubashir Ali - Lecturer (Department of
Computer Science)
• 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
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
4
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
5
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
6
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>
7
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
8
Mubashir Ali - Lecturer (Department of
Computer Science)
1. Introduction to HTML…
• 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>
9
Mubashir Ali - Lecturer (Department of
Computer Science)
2. Structure of HTML Page
10
Mubashir Ali - Lecturer (Department of
Computer Science)
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:
• <BODY BGCOLOR=123345 TEXT=Red>
• <BODY BACKGROUND=“img.jpg” TEXT=Red>
11
Mubashir Ali - Lecturer (Department of
Computer Science)
3. The BODY Tag
12
Mubashir Ali - Lecturer (Department of
Computer Science)
4. Formatting text
Formatting Text…...
13
Mubashir Ali - Lecturer (Department of
Computer Science)
• <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>
14
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>
15
Mubashir Ali - Lecturer (Department of
Computer Science)
4. Formatting text…
• 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)
16
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>
17
Mubashir Ali - Lecturer (Department of
Computer Science)
5. Lists in HTML…
• What is HTML?
• Basic Structure of HTML page
• Body tag attributes
• Text formatting tags
• Lists
18
Mubashir Ali - Lecturer (Department of
Computer Science)
Summary
• 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
19
Mubashir Ali - Lecturer (Department of
Computer Science)
References

More Related Content

What's hot

What's hot (20)

Html forms
Html formsHtml forms
Html forms
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
Build a Website Using HTML + CSS
Build a Website Using HTML + CSSBuild a Website Using HTML + CSS
Build a Website Using HTML + CSS
 
Css Ppt
Css PptCss Ppt
Css Ppt
 
CSS
CSSCSS
CSS
 
Bootstrap PPT by Mukesh
Bootstrap PPT by MukeshBootstrap PPT by Mukesh
Bootstrap PPT by Mukesh
 
Css box-model
Css box-modelCss box-model
Css box-model
 
Html basics
Html basicsHtml basics
Html basics
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Content Management System - CMS
 Content Management System - CMS Content Management System - CMS
Content Management System - CMS
 
Html table tags
Html table tagsHtml table tags
Html table tags
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
 
HTML 5 Canvas & SVG
HTML 5 Canvas & SVGHTML 5 Canvas & SVG
HTML 5 Canvas & SVG
 
Div tag presentation
Div tag presentationDiv tag presentation
Div tag presentation
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Presentation of bootstrap
Presentation of bootstrapPresentation of bootstrap
Presentation of bootstrap
 
Javascript
JavascriptJavascript
Javascript
 
Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)
 

Similar to Lecture-3: Introduction to html - Basic Structure & Block Building

Science kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncajScience kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncajkefije9797
 
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhwWD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhwkefije9797
 
HTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).pptHTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).pptDianajeon3
 
HTML element is everything between the start tag and the end tag
HTML element is everything between the start tag and the end tagHTML element is everything between the start tag and the end tag
HTML element is everything between the start tag and the end tagssuser6478a8
 
02 From HTML tags to XHTML
02 From HTML tags to XHTML02 From HTML tags to XHTML
02 From HTML tags to XHTMLRich Dron
 
Lesson4.9 a u4l2 html
Lesson4.9 a u4l2 htmlLesson4.9 a u4l2 html
Lesson4.9 a u4l2 htmlLexume1
 
Introduction web tech
Introduction web techIntroduction web tech
Introduction web techLiaquat Rahoo
 
1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptx1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptxMattMarino13
 
Web development using HTML and CSS
Web development using HTML and CSSWeb development using HTML and CSS
Web development using HTML and CSSSiddhantSingh980217
 

Similar to Lecture-3: Introduction to html - Basic Structure & Block Building (20)

Slides 2 - HTML
Slides 2 - HTMLSlides 2 - HTML
Slides 2 - HTML
 
Unit 2 (html)
Unit 2  (html)Unit 2  (html)
Unit 2 (html)
 
Web Design.ppt
Web Design.pptWeb Design.ppt
Web Design.ppt
 
Html
HtmlHtml
Html
 
Science kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncajScience kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncaj
 
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhwWD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
 
Html
HtmlHtml
Html
 
HTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).pptHTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).ppt
 
HTML element is everything between the start tag and the end tag
HTML element is everything between the start tag and the end tagHTML element is everything between the start tag and the end tag
HTML element is everything between the start tag and the end tag
 
02 From HTML tags to XHTML
02 From HTML tags to XHTML02 From HTML tags to XHTML
02 From HTML tags to XHTML
 
Web Design
Web DesignWeb Design
Web Design
 
Lesson4.9 a u4l2 html
Lesson4.9 a u4l2 htmlLesson4.9 a u4l2 html
Lesson4.9 a u4l2 html
 
Html.pptx
Html.pptxHtml.pptx
Html.pptx
 
Html
HtmlHtml
Html
 
HTML, CSS and XML
HTML, CSS and XMLHTML, CSS and XML
HTML, CSS and XML
 
Introduction web tech
Introduction web techIntroduction web tech
Introduction web tech
 
1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptx1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptx
 
Web+html
Web+htmlWeb+html
Web+html
 
Web development using HTML and CSS
Web development using HTML and CSSWeb development using HTML and CSS
Web development using HTML and CSS
 
Introduction html
Introduction htmlIntroduction html
Introduction html
 

More from Mubashir Ali

Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...Mubashir Ali
 
Lecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise ArchitectureLecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise ArchitectureMubashir Ali
 
Lecture-2: Web development application development process model
Lecture-2: Web development application development process modelLecture-2: Web development application development process model
Lecture-2: Web development application development process modelMubashir Ali
 
Lecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading schemeLecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading schemeMubashir Ali
 
Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...Mubashir Ali
 
Lecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerceLecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerceMubashir Ali
 
Lecture-6: The Internet
Lecture-6: The Internet Lecture-6: The Internet
Lecture-6: The Internet Mubashir Ali
 
Lecture-5: Introduction to Networks & Data Communication
Lecture-5: Introduction to Networks & Data Communication Lecture-5: Introduction to Networks & Data Communication
Lecture-5: Introduction to Networks & Data Communication Mubashir Ali
 
Lecture-4: Introduction to Programming & Databases
Lecture-4: Introduction to Programming & DatabasesLecture-4: Introduction to Programming & Databases
Lecture-4: Introduction to Programming & DatabasesMubashir Ali
 
Lecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application SoftwaresLecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application SoftwaresMubashir Ali
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionMubashir Ali
 
Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components Mubashir Ali
 
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...Mubashir Ali
 
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...Mubashir Ali
 
Lect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPMLect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPMMubashir Ali
 
Lect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationLect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationMubashir Ali
 
Lect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPMLect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPMMubashir Ali
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMMubashir Ali
 
Lect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - TemplateLect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - TemplateMubashir Ali
 
Lect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakesLect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakesMubashir Ali
 

More from Mubashir Ali (20)

Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
 
Lecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise ArchitectureLecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise Architecture
 
Lecture-2: Web development application development process model
Lecture-2: Web development application development process modelLecture-2: Web development application development process model
Lecture-2: Web development application development process model
 
Lecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading schemeLecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading scheme
 
Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...
 
Lecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerceLecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerce
 
Lecture-6: The Internet
Lecture-6: The Internet Lecture-6: The Internet
Lecture-6: The Internet
 
Lecture-5: Introduction to Networks & Data Communication
Lecture-5: Introduction to Networks & Data Communication Lecture-5: Introduction to Networks & Data Communication
Lecture-5: Introduction to Networks & Data Communication
 
Lecture-4: Introduction to Programming & Databases
Lecture-4: Introduction to Programming & DatabasesLecture-4: Introduction to Programming & Databases
Lecture-4: Introduction to Programming & Databases
 
Lecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application SoftwaresLecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application Softwares
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components
 
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
 
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
 
Lect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPMLect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPM
 
Lect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationLect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost Estimation
 
Lect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPMLect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPM
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPM
 
Lect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - TemplateLect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - Template
 
Lect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakesLect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakes
 

Recently uploaded

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

Recently uploaded (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 

Lecture-3: Introduction to html - Basic Structure & Block Building

  • 1. Introduction to HTML Mr. Mubashir Ali Lecturer (Dept. of Computer Science) dr.mubashirali1@gmail.com 1 Lecture 03
  • 2. Outline • Introduction to HTML • Basic Structure of a HTML page • Text formatting tags in HTML • Lists in HTML 2 Mubashir Ali - Lecturer (Department of Computer Science)
  • 3. • 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 Mubashir Ali - Lecturer (Department of Computer Science) 1. Introduction to HTML…
  • 4. • 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 4 Mubashir Ali - Lecturer (Department of Computer Science) 1. Introduction to HTML…
  • 5. • 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 5 Mubashir Ali - Lecturer (Department of Computer Science) 1. Introduction to HTML…
  • 6. • 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 Mubashir Ali - Lecturer (Department of Computer Science) 1. Introduction to HTML…
  • 7. • 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> 7 Mubashir Ali - Lecturer (Department of Computer Science) 1. Introduction to HTML…
  • 8. • 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 8 Mubashir Ali - Lecturer (Department of Computer Science) 1. Introduction to HTML…
  • 9. • 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> 9 Mubashir Ali - Lecturer (Department of Computer Science) 2. Structure of HTML Page
  • 10. 10 Mubashir Ali - Lecturer (Department of Computer Science) 2. Structure of HTML Page… • First HTML page:
  • 11. 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> 11 Mubashir Ali - Lecturer (Department of Computer Science) 3. The BODY Tag
  • 12. 12 Mubashir Ali - Lecturer (Department of Computer Science) 4. Formatting text
  • 13. Formatting Text…... 13 Mubashir Ali - Lecturer (Department of Computer Science)
  • 14. • <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> 14 Mubashir Ali - Lecturer (Department of Computer Science) 4. Formatting text…
  • 15. • <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> 15 Mubashir Ali - Lecturer (Department of Computer Science) 4. Formatting text…
  • 16. • 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) 16 Mubashir Ali - Lecturer (Department of Computer Science) 5. Lists in HTML
  • 17. • Definition Lists: – Starting Tag<DL> – Ending Tag </DL> – Definition Term <DT> – Definition Description <DD> 17 Mubashir Ali - Lecturer (Department of Computer Science) 5. Lists in HTML…
  • 18. • What is HTML? • Basic Structure of HTML page • Body tag attributes • Text formatting tags • Lists 18 Mubashir Ali - Lecturer (Department of Computer Science) Summary
  • 19. • 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 19 Mubashir Ali - Lecturer (Department of Computer Science) References