SlideShare a Scribd company logo
Ayes Chinmay
Internet
&
Web Technology
(HTML and CSS)
IWT Syllabus:
Module 1:
Web:
Internet, Word Wide Web(WWW), History of the Internet, History of the Web, Protocols Governing the Web, Types of
Websites, Web Applications, Web Projects, Web architecture, HTML, URI, HTTP, Issues in Web Development,
Webserver, web browser, Internet standards, TCP/IP Protocol suite, MIME, Cyber Laws.
Hyper Text Transfer Protocol(HTTP):
Understand the need for HTTP, URL and it Anatomy, HTTP message format, Persistent and Non-persistent Connections,
Web Caching, Proxy
Web Page Designing HTML:
Introduction to HTML, Mark up Language, HTML Tags, HTML Document Structure, HTML Comments, head, title, base,
link, style, meta, script, Heading tags, paragraph, anchor, image, video, line breaks, text formatting, lists, frames, forms.
Cascaded Style Sheet
Inline Styles, Internal Style Sheet, External Style Sheet, Selectors, Colors, Backgrounds, Background Image, Background
Attachment, Background Shorthand, Borders, Margins, Padding, Fonts, Links, Icons, Lists, Tables, Display, Position,
Overflow, Float, inline- block, Horizontal & Vertical Align, Combinators, Pseudo-classes, Pseudo-elements, Opacity
/ Transparency, Navigation Bar, Dropdowns, Image Gallery, Attribute Selectors, Forms, Counters, Website Layout, Units,
Specificity, Text Effects, Animations, Tooltip, Multiple Columns.
HTML:
 HTML stands for Hyper Text Markup Language.
 HTML was released in 1993 (27 years ago).
 HTML is the standard markup language for creating Web pages.
 HTML consists of a series of elements, which inform the browser how to
display the content .
 The latest version of HTML 5 was published in 2012. World Wide Web
Consortium (W3C) defines the specifications of HTML..
 HTML 5.2 was released on 27 May 2019 (13 months ago).
HTML Tag List:
HTML Table:
<table> element to define a table
<tr> element to define a table row
<td> element to define a table data
<th> element to define a table heading
<caption> element to define a table caption
border property to define a border
border-collapse property to collapse cell borders
text-align property to align cell text
border-spacing property to set the spacing between cells
Use the colspan attribute to make a cell span many columns
Use the rowspan attribute to make a cell span many rows
HTML Form:
TAG Definition
<form> Defines an HTML form for user input
<input> Defines an input control
<textarea> Defines a multiline input control (text area)
<label> Defines a label for an <input> element
<fieldset> Groups related elements in a form
<legend> Defines a caption for a <fieldset> element
<select> Defines a drop-down list
<optgroup> Defines a group of related options in a drop-down list
<option> Defines an option in a drop-down list
<button> Defines a clickable button
<datalist> Specifies a list of pre-defined options for input controls
HTML Character Entities & Formatting:
CSS:
 CSS stands for Cascaded Style Sheet.
 Wium Lie has proposed the concept of CSS in 1994 (26 years ago).
 The latest version of CSS 3 was published in 1999. World Wide Web
Consortium (W3C) defines the specifications of CSS.
 Father of HTML 5, CSS 3 => “Håkon Wium Lie”Håkon Wium Lie
CSS Syntax:
Types of CSS:
1) External CSS
2) Internal CSS
3) Inline CSS
External CSS:
 With an external style sheet, you can change the look of an entire website by
changing just one file.
 Each HTML page must include a reference to the external style sheet file inside
the <link> element, inside the head section.
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
body {
background-color: lightblue;
}
h1 {
color: navy;
margin-left: 20px;
}
Internal CSS:
 An inline style may be used to apply a unique style for a single element.
 To use inline styles, add the style attribute to the relevant element. The
style attribute can contain any CSS property.
<!DOCTYPE html>
<html>
<head>
<style>
body {background-color: linen;}
h1 {color: maroon;
margin-left: 40px; }
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Inline CSS:
 An inline style may be used to apply a unique style for a single element.
 To use inline styles, add the style attribute to the relevant element. The
style attribute can contain any CSS property.
<!DOCTYPE html>
<html>
<body>
<h1 style="color:blue;text-align:center;">
This is a heading
</h1>
<p style="color:red;">
This is a paragraph.
</p>
</body>
</html>
GATE Question:
1. Consider the HTML table definition given below:
<table border=1>
<tr>
<td rowspan=2>ab</td>
<td colspan=2> cd </td>
</tr>
<tr>
<td>ef</td>
<td rowspan=2>gh</td>
</tr>
<tr>
<td colspan=2>ik</td>
</tr>
</table>
The number of rows in each column and the number of columns in each row are
(a) 2, 2, 3 and 2, 3, 2 (b) 2, 2, 3 and 2, 2, 3
(c) 2, 3, 2 and 2, 3, 2 (d) 2, 3, 2 and 2, 2, 3
(GATE 2009: 1 Mark)
Model Questions:
2. The following HTML tag is used for inserting a line break?
(a) <br/> (b) <startbreak/>
(c) <lb/> (d) <LINEBRK/>
3. Which of the following is not a pair tag?
(a) <i> (b) <u>
(c) <b> (d) <br>
4. Which of the following HTML tag will provide the largest heading
(a) <h6> (b) <h1>
(c) <head8> (d) <heading6>
Model Questions: (Cont.)
5. Linking to another place in the same or another Web page require
two A (Anchor) tags, the first with the _______ attribute and the
second with the _______ attribute.
(a) NAME, LINK (b) LINK, HREF
(c) HREF, NAME (d) TARGET, VALUE
6. The facilities available in the Internet are
A. Electronic mail.
B. Remote login.
C. File transfer.
D. Encryption technique.
(a) A and B (b) A, B and D
(c) A, B and C (d) B, C and D
Home Work
HEADER
FOOTER
IMAGE VIDEO
Next Class:
HTML & CSS & JS
Ad

Recommended

Internet and Web Technology (CLASS-2) [HTTP & HTML]
Internet and Web Technology (CLASS-2) [HTTP & HTML]
Ayes Chinmay
 
Internet and Web Technology (CLASS-7) [XML and AJAX] | NIC/NIELIT Web Technology
Internet and Web Technology (CLASS-7) [XML and AJAX] | NIC/NIELIT Web Technology
Ayes Chinmay
 
Internet and Web Technology (CLASS-5) [HTML DOM]
Internet and Web Technology (CLASS-5) [HTML DOM]
Ayes Chinmay
 
Document Object Model
Document Object Model
baabtra.com - No. 1 supplier of quality freshers
 
Internet and Web Technology (CLASS-8) [jQuery and JSON] | NIC/NIELIT Web Tech...
Internet and Web Technology (CLASS-8) [jQuery and JSON] | NIC/NIELIT Web Tech...
Ayes Chinmay
 
Document Object Model (DOM)
Document Object Model (DOM)
GOPAL BASAK
 
Document object model
Document object model
Amit kumar
 
Internet and Web Technology (CLASS-6) [BOM]
Internet and Web Technology (CLASS-6) [BOM]
Ayes Chinmay
 
Document object model(dom)
Document object model(dom)
rahul kundu
 
Document Object Model
Document Object Model
Mayur Mudgal
 
Dom
Dom
Surinder Kaur
 
Document Object Model
Document Object Model
chomas kandar
 
Dom structure
Dom structure
baabtra.com - No. 1 supplier of quality freshers
 
INTRODUCTION TO DOM AND DOM TREE
INTRODUCTION TO DOM AND DOM TREE
systematiclab
 
Introduction to the DOM
Introduction to the DOM
tharaa abu ashour
 
Dom
Dom
Rakshita Upadhyay
 
An Introduction to the DOM
An Introduction to the DOM
Mindy McAdams
 
Web Information Systems XML
Web Information Systems XML
Artificial Intelligence Institute at UofSC
 
Introduction to DOM
Introduction to DOM
Daniel Bragais
 
Dom(document object model)
Dom(document object model)
Partnered Health
 
Internet and Web Technology (CLASS-14) [JSP] | NIC/NIELIT Web Technology
Internet and Web Technology (CLASS-14) [JSP] | NIC/NIELIT Web Technology
Ayes Chinmay
 
Web Information Systems Html and css
Web Information Systems Html and css
Artificial Intelligence Institute at UofSC
 
introduction to the document object model- Dom chapter5
introduction to the document object model- Dom chapter5
FLYMAN TECHNOLOGY LIMITED
 
DOM Quick Overview
DOM Quick Overview
Signure Technologies
 
Document Object Model
Document Object Model
yht4ever
 
Web1O1 - Session 1
Web1O1 - Session 1
NYCSS Meetup
 
Dhtml
Dhtml
rahul kundu
 
The Document Object Model
The Document Object Model
Khou Suylong
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
HTML
HTML
poonamBhalla5
 

More Related Content

What's hot (20)

Document object model(dom)
Document object model(dom)
rahul kundu
 
Document Object Model
Document Object Model
Mayur Mudgal
 
Dom
Dom
Surinder Kaur
 
Document Object Model
Document Object Model
chomas kandar
 
Dom structure
Dom structure
baabtra.com - No. 1 supplier of quality freshers
 
INTRODUCTION TO DOM AND DOM TREE
INTRODUCTION TO DOM AND DOM TREE
systematiclab
 
Introduction to the DOM
Introduction to the DOM
tharaa abu ashour
 
Dom
Dom
Rakshita Upadhyay
 
An Introduction to the DOM
An Introduction to the DOM
Mindy McAdams
 
Web Information Systems XML
Web Information Systems XML
Artificial Intelligence Institute at UofSC
 
Introduction to DOM
Introduction to DOM
Daniel Bragais
 
Dom(document object model)
Dom(document object model)
Partnered Health
 
Internet and Web Technology (CLASS-14) [JSP] | NIC/NIELIT Web Technology
Internet and Web Technology (CLASS-14) [JSP] | NIC/NIELIT Web Technology
Ayes Chinmay
 
Web Information Systems Html and css
Web Information Systems Html and css
Artificial Intelligence Institute at UofSC
 
introduction to the document object model- Dom chapter5
introduction to the document object model- Dom chapter5
FLYMAN TECHNOLOGY LIMITED
 
DOM Quick Overview
DOM Quick Overview
Signure Technologies
 
Document Object Model
Document Object Model
yht4ever
 
Web1O1 - Session 1
Web1O1 - Session 1
NYCSS Meetup
 
Dhtml
Dhtml
rahul kundu
 
The Document Object Model
The Document Object Model
Khou Suylong
 

Similar to Internet and Web Technology (CLASS-3) [HTML & CSS] (20)

An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
HTML
HTML
poonamBhalla5
 
INTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdf
DineshKumar522328
 
Introduction to Web Techniques_Key componenets_HTML Basics
Introduction to Web Techniques_Key componenets_HTML Basics
DeepakUlape2
 
Html
Html
Nidhi mishra
 
Html introduction
Html introduction
Dalia Elbadry
 
Workshop 2 Slides.pptx
Workshop 2 Slides.pptx
DaniyalSardar
 
BSC notes of _HTML_Easyto understand lease see.pptx
BSC notes of _HTML_Easyto understand lease see.pptx
VikasTuwar1
 
HTML and DHTML
HTML and DHTML
Dr. SURBHI SAROHA
 
HTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).ppt
Dianajeon3
 
HTML & CSS.ppt
HTML & CSS.ppt
vaseemshaik21
 
BITM3730Week1.pptx
BITM3730Week1.pptx
MattMarino13
 
HTML Webinar Class
HTML Webinar Class
Brian Pichman
 
xhtml_css.ppt
xhtml_css.ppt
fakeaccount225095
 
HTML & CSS Training Institute in Ambala ! Batra Computer Centre
HTML & CSS Training Institute in Ambala ! Batra Computer Centre
jatin batra
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introduction
clement swarnappa
 
Web development ppt used to design web applocation
Web development ppt used to design web applocation
Indu32
 
Html and css
Html and css
Sukrit Gupta
 
Html
Html
baabtra.com - No. 1 supplier of quality freshers
 
html and css- 23091 3154 458-5d4341a0.ppt
html and css- 23091 3154 458-5d4341a0.ppt
ahoveida
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
INTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdf
DineshKumar522328
 
Introduction to Web Techniques_Key componenets_HTML Basics
Introduction to Web Techniques_Key componenets_HTML Basics
DeepakUlape2
 
Workshop 2 Slides.pptx
Workshop 2 Slides.pptx
DaniyalSardar
 
BSC notes of _HTML_Easyto understand lease see.pptx
BSC notes of _HTML_Easyto understand lease see.pptx
VikasTuwar1
 
HTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).ppt
Dianajeon3
 
BITM3730Week1.pptx
BITM3730Week1.pptx
MattMarino13
 
HTML & CSS Training Institute in Ambala ! Batra Computer Centre
HTML & CSS Training Institute in Ambala ! Batra Computer Centre
jatin batra
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introduction
clement swarnappa
 
Web development ppt used to design web applocation
Web development ppt used to design web applocation
Indu32
 
html and css- 23091 3154 458-5d4341a0.ppt
html and css- 23091 3154 458-5d4341a0.ppt
ahoveida
 
Ad

More from Ayes Chinmay (6)

Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
Ayes Chinmay
 
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
Ayes Chinmay
 
Internet and Web Technology (CLASS-10) [Node.js] | NIC/NIELIT Web Technology
Internet and Web Technology (CLASS-10) [Node.js] | NIC/NIELIT Web Technology
Ayes Chinmay
 
Internet and Web Technology (CLASS-9) [React.js] | NIC/NIELIT Web Technology
Internet and Web Technology (CLASS-9) [React.js] | NIC/NIELIT Web Technology
Ayes Chinmay
 
Internet and Web Technology (CLASS-4) [CSS & JS]
Internet and Web Technology (CLASS-4) [CSS & JS]
Ayes Chinmay
 
Internet and Web Technology (CLASS-1) [Introduction]
Internet and Web Technology (CLASS-1) [Introduction]
Ayes Chinmay
 
Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
Ayes Chinmay
 
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
Ayes Chinmay
 
Internet and Web Technology (CLASS-10) [Node.js] | NIC/NIELIT Web Technology
Internet and Web Technology (CLASS-10) [Node.js] | NIC/NIELIT Web Technology
Ayes Chinmay
 
Internet and Web Technology (CLASS-9) [React.js] | NIC/NIELIT Web Technology
Internet and Web Technology (CLASS-9) [React.js] | NIC/NIELIT Web Technology
Ayes Chinmay
 
Internet and Web Technology (CLASS-4) [CSS & JS]
Internet and Web Technology (CLASS-4) [CSS & JS]
Ayes Chinmay
 
Internet and Web Technology (CLASS-1) [Introduction]
Internet and Web Technology (CLASS-1) [Introduction]
Ayes Chinmay
 
Ad

Recently uploaded (20)

How to Manage Multi Language for Invoice in Odoo 18
How to Manage Multi Language for Invoice in Odoo 18
Celine George
 
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Rajdeep Bavaliya
 
Sustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive Learning
Leonel Morgado
 
Assisting Individuals and Families to Promote and Maintain Health – Unit 7 | ...
Assisting Individuals and Families to Promote and Maintain Health – Unit 7 | ...
RAKESH SAJJAN
 
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
ChristinaFortunova
 
How to Manage Inventory Movement in Odoo 18 POS
How to Manage Inventory Movement in Odoo 18 POS
Celine George
 
Nice Dream.pdf /
Nice Dream.pdf /
ErinUsher3
 
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
Arshad Shaikh
 
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Rajdeep Bavaliya
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
Publishing Your Memoir with Brooke Warner
Publishing Your Memoir with Brooke Warner
Brooke Warner
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Introduction to problem solving Techniques
Introduction to problem solving Techniques
merlinjohnsy
 
“THE BEST CLASS IN SCHOOL”. _
“THE BEST CLASS IN SCHOOL”. _
Colégio Santa Teresinha
 
Plate Tectonic Boundaries and Continental Drift Theory
Plate Tectonic Boundaries and Continental Drift Theory
Marie
 
BINARY files CSV files JSON files with example.pptx
BINARY files CSV files JSON files with example.pptx
Ramakrishna Reddy Bijjam
 
What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
Belicia R.S
 
JHS SHS Back to School 2024-2025 .pptx
JHS SHS Back to School 2024-2025 .pptx
melvinapay78
 
How to Manage Multi Language for Invoice in Odoo 18
How to Manage Multi Language for Invoice in Odoo 18
Celine George
 
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Rajdeep Bavaliya
 
Sustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive Learning
Leonel Morgado
 
Assisting Individuals and Families to Promote and Maintain Health – Unit 7 | ...
Assisting Individuals and Families to Promote and Maintain Health – Unit 7 | ...
RAKESH SAJJAN
 
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
ChristinaFortunova
 
How to Manage Inventory Movement in Odoo 18 POS
How to Manage Inventory Movement in Odoo 18 POS
Celine George
 
Nice Dream.pdf /
Nice Dream.pdf /
ErinUsher3
 
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
Arshad Shaikh
 
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Rajdeep Bavaliya
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
Publishing Your Memoir with Brooke Warner
Publishing Your Memoir with Brooke Warner
Brooke Warner
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Introduction to problem solving Techniques
Introduction to problem solving Techniques
merlinjohnsy
 
Plate Tectonic Boundaries and Continental Drift Theory
Plate Tectonic Boundaries and Continental Drift Theory
Marie
 
BINARY files CSV files JSON files with example.pptx
BINARY files CSV files JSON files with example.pptx
Ramakrishna Reddy Bijjam
 
What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
Belicia R.S
 
JHS SHS Back to School 2024-2025 .pptx
JHS SHS Back to School 2024-2025 .pptx
melvinapay78
 

Internet and Web Technology (CLASS-3) [HTML & CSS]

  • 2. IWT Syllabus: Module 1: Web: Internet, Word Wide Web(WWW), History of the Internet, History of the Web, Protocols Governing the Web, Types of Websites, Web Applications, Web Projects, Web architecture, HTML, URI, HTTP, Issues in Web Development, Webserver, web browser, Internet standards, TCP/IP Protocol suite, MIME, Cyber Laws. Hyper Text Transfer Protocol(HTTP): Understand the need for HTTP, URL and it Anatomy, HTTP message format, Persistent and Non-persistent Connections, Web Caching, Proxy Web Page Designing HTML: Introduction to HTML, Mark up Language, HTML Tags, HTML Document Structure, HTML Comments, head, title, base, link, style, meta, script, Heading tags, paragraph, anchor, image, video, line breaks, text formatting, lists, frames, forms. Cascaded Style Sheet Inline Styles, Internal Style Sheet, External Style Sheet, Selectors, Colors, Backgrounds, Background Image, Background Attachment, Background Shorthand, Borders, Margins, Padding, Fonts, Links, Icons, Lists, Tables, Display, Position, Overflow, Float, inline- block, Horizontal &amp; Vertical Align, Combinators, Pseudo-classes, Pseudo-elements, Opacity / Transparency, Navigation Bar, Dropdowns, Image Gallery, Attribute Selectors, Forms, Counters, Website Layout, Units, Specificity, Text Effects, Animations, Tooltip, Multiple Columns.
  • 3. HTML:  HTML stands for Hyper Text Markup Language.  HTML was released in 1993 (27 years ago).  HTML is the standard markup language for creating Web pages.  HTML consists of a series of elements, which inform the browser how to display the content .  The latest version of HTML 5 was published in 2012. World Wide Web Consortium (W3C) defines the specifications of HTML..  HTML 5.2 was released on 27 May 2019 (13 months ago).
  • 5. HTML Table: <table> element to define a table <tr> element to define a table row <td> element to define a table data <th> element to define a table heading <caption> element to define a table caption border property to define a border border-collapse property to collapse cell borders text-align property to align cell text border-spacing property to set the spacing between cells Use the colspan attribute to make a cell span many columns Use the rowspan attribute to make a cell span many rows
  • 6. HTML Form: TAG Definition <form> Defines an HTML form for user input <input> Defines an input control <textarea> Defines a multiline input control (text area) <label> Defines a label for an <input> element <fieldset> Groups related elements in a form <legend> Defines a caption for a <fieldset> element <select> Defines a drop-down list <optgroup> Defines a group of related options in a drop-down list <option> Defines an option in a drop-down list <button> Defines a clickable button <datalist> Specifies a list of pre-defined options for input controls
  • 7. HTML Character Entities & Formatting:
  • 8. CSS:  CSS stands for Cascaded Style Sheet.  Wium Lie has proposed the concept of CSS in 1994 (26 years ago).  The latest version of CSS 3 was published in 1999. World Wide Web Consortium (W3C) defines the specifications of CSS.  Father of HTML 5, CSS 3 => “Håkon Wium Lie”Håkon Wium Lie
  • 10. Types of CSS: 1) External CSS 2) Internal CSS 3) Inline CSS
  • 11. External CSS:  With an external style sheet, you can change the look of an entire website by changing just one file.  Each HTML page must include a reference to the external style sheet file inside the <link> element, inside the head section. <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="mystyle.css"> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html> body { background-color: lightblue; } h1 { color: navy; margin-left: 20px; }
  • 12. Internal CSS:  An inline style may be used to apply a unique style for a single element.  To use inline styles, add the style attribute to the relevant element. The style attribute can contain any CSS property. <!DOCTYPE html> <html> <head> <style> body {background-color: linen;} h1 {color: maroon; margin-left: 40px; } </style> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html>
  • 13. Inline CSS:  An inline style may be used to apply a unique style for a single element.  To use inline styles, add the style attribute to the relevant element. The style attribute can contain any CSS property. <!DOCTYPE html> <html> <body> <h1 style="color:blue;text-align:center;"> This is a heading </h1> <p style="color:red;"> This is a paragraph. </p> </body> </html>
  • 14. GATE Question: 1. Consider the HTML table definition given below: <table border=1> <tr> <td rowspan=2>ab</td> <td colspan=2> cd </td> </tr> <tr> <td>ef</td> <td rowspan=2>gh</td> </tr> <tr> <td colspan=2>ik</td> </tr> </table> The number of rows in each column and the number of columns in each row are (a) 2, 2, 3 and 2, 3, 2 (b) 2, 2, 3 and 2, 2, 3 (c) 2, 3, 2 and 2, 3, 2 (d) 2, 3, 2 and 2, 2, 3 (GATE 2009: 1 Mark)
  • 15. Model Questions: 2. The following HTML tag is used for inserting a line break? (a) <br/> (b) <startbreak/> (c) <lb/> (d) <LINEBRK/> 3. Which of the following is not a pair tag? (a) <i> (b) <u> (c) <b> (d) <br> 4. Which of the following HTML tag will provide the largest heading (a) <h6> (b) <h1> (c) <head8> (d) <heading6>
  • 16. Model Questions: (Cont.) 5. Linking to another place in the same or another Web page require two A (Anchor) tags, the first with the _______ attribute and the second with the _______ attribute. (a) NAME, LINK (b) LINK, HREF (c) HREF, NAME (d) TARGET, VALUE 6. The facilities available in the Internet are A. Electronic mail. B. Remote login. C. File transfer. D. Encryption technique. (a) A and B (b) A, B and D (c) A, B and C (d) B, C and D
  • 18. Next Class: HTML & CSS & JS