SlideShare a Scribd company logo
Web Technology
(NCS-504)
Prepared By
Mr. Abhishek Kesharwani
Assistant Professor,UCER Naini,Allahabad
HTML Images
• In HTML, images are defined with the <img>
tag.
• The <img> tag is empty, which means that it
contains attributes only, and has no closing
tag.
• To display an image on a page, you need to
use the src attribute. Src stands for "source".
The value of the src attribute is the URL of the
image you want to display
HTML Images
<img src="url" alt="some_text“ width="304"
height="228">
The URL points to the location where the image
is stored.
alt attribute specifies an alternate text for an
image, if the image cannot be displayed.
The height and width attributes are used to
specify the height and width of an image.
HTML Tables
• Tables are defined with the <table> tag.
• A table is divided into rows (with the <tr> tag),
and each row is divided into data cells (with
the <td> tag). td stands for "table data," and
holds the content of a data cell. A <td> tag can
contain text, links, images, lists, forms, other
tables, etc.
• To display a table with borders, specify the
border attribute.
• Header information in a table are defined with the
<th> tag.
• All major browsers display the text in the <th>
element as bold and centered.
• Use rowspan to span multiple rows merging
together table rows and colspan to span across
multiple columns.
• cellpadding attribute determines how much space
will exist between a table cell border and the
elements contained within it.
• cellspacing determines how much space will exist
between each table cell.
<!DOCTYPE html>
<html>
<body>
<table>
<tr>
<td>100</td>
<td>200</td>
<td>300</td>
</tr>
<tr>
<td>400</td>
<td>500</td>
<td>600</td>
</tr>
</table>
</body>
</html>
<table border="1">
<tr> <td><b>Column 1</b></td>
<td><b>Column 2</b></td>
<td><b>Column 3</b></td>
</tr> <tr> <td rowspan="2">Row 1 Cell 1</td>
<td>Row 1 Cell 2</td> <td>Row 1 Cell 3</td>
</tr>
<tr> <td>Row 2 Cell 2</td>
<td>Row 2 Cell 3</td> </tr>
<tr> <td colspan="3">Row 3 Cell 1</td> </tr>
</table>
Output
<table border="1" cellpadding="10“ >
<tr> <td><b>Column 1</b></td>
<td><b>Column 2</b></td>
</tr>
<tr> <td>Row 1 Cell 1</td>
<td>Row 1 Cell 2</td>
</tr>
<tr> <td>Row 2 Cell 1</td>
<td>Row 2 Cell 2</td>
</tr> </table>
HTML Lists
• HTML lists appear in web browsers as bulleted
lines of text. There are actually three different
types of HTML lists, including unordered lists
(bullets), ordered lists (numbers), and
definition lists (think: dictionaries).
• The actual list tags themselves, such as <ul>,
are nothing but container elements for list
items (<li>)
html - unordered lists
• An unordered list (<ul>) signifies to a web
browser that all list items contained inside the
<ul> tag should be rendered with a bullet
preceding the text.
• The default bullet type for most web
browsers is a full disc (black circle), but this
can be adjusted using an HTML attribute
called type.
html - unordered lists
<ul>
<li>Milk</li>
<li>Toilet Paper</li>
<li>Cereal</li>
<li>Bread</li>
</ul>
HTML Unordered List Type
• <ul type="square">
• <ul type="disc">
• <ul type="circle">
html - ordered lists
• An ordered list is defined using the <ol> tag,
and list items placed inside of an ordered list
are preceded with numbers instead of bullets.
• The numbering of an HTML list can be
changed to letters or Roman Numerals by
once again adjusting the type attribute.
• The start attribute allows you to further
customize an HTML ordered list by setting a
new starting digit for the ordered list element.
HTML Numbered List Start Attribute
<ol type=“a” start="4" >
<li>Buy Food</li>
<li>Enroll in College</li>
<li>Get a Degree</li>
</ol>
<ol type="a“> <ol type="A">
<ol type="i"> <ol type="I">
html - definition term lists
HTML definition lists (<dl>) are list elements that
have a unique array of tags and elements; the
resulting listings are similar to those you'd see
in a dictionary.
• <dl> - opening clause that defines the start of
the list
• <dt> - list item that defines the definition term
• <dd> - definition of the list item

More Related Content

What's hot (20)

PPTX
uptu web technology unit 2 html
Abhishek Kesharwani
 
PDF
Intro to HTML and CSS basics
Eliran Eliassy
 
PPTX
Html and css
Sukrit Gupta
 
PDF
Web front end development introduction to html css and javascript
Marc Huang
 
PPTX
(Fast) Introduction to HTML & CSS
Dave Kelly
 
PDF
Html / CSS Presentation
Shawn Calvert
 
PDF
HTML Lecture Part 1 of 2
Sharon Wasden
 
PDF
HTML CSS Basics
Mai Moustafa
 
PPTX
Introduction to HTML and CSS
Ferdous Mahmud Shaon
 
PPTX
Css.html
Anaghabalakrishnan
 
PPTX
Introduction to CSS
Folasade Adedeji
 
PDF
Web Design Course: CSS lecture 5
Gheyath M. Othman
 
PDF
Web Design Course: CSS lecture 1
Gheyath M. Othman
 
KEY
HTML/CSS Lecture 1
Lee Lundrigan
 
PDF
HTML/CSS Crash Course (april 4 2017)
Daniel Friedman
 
PPTX
Css Basics
Jay Patel
 
PDF
HTML and CSS crash course!
Ana Cidre
 
PPT
Boostrap basics
JTechTown
 
uptu web technology unit 2 html
Abhishek Kesharwani
 
Intro to HTML and CSS basics
Eliran Eliassy
 
Html and css
Sukrit Gupta
 
Web front end development introduction to html css and javascript
Marc Huang
 
(Fast) Introduction to HTML & CSS
Dave Kelly
 
Html / CSS Presentation
Shawn Calvert
 
HTML Lecture Part 1 of 2
Sharon Wasden
 
HTML CSS Basics
Mai Moustafa
 
Introduction to HTML and CSS
Ferdous Mahmud Shaon
 
Introduction to CSS
Folasade Adedeji
 
Web Design Course: CSS lecture 5
Gheyath M. Othman
 
Web Design Course: CSS lecture 1
Gheyath M. Othman
 
HTML/CSS Lecture 1
Lee Lundrigan
 
HTML/CSS Crash Course (april 4 2017)
Daniel Friedman
 
Css Basics
Jay Patel
 
HTML and CSS crash course!
Ana Cidre
 
Boostrap basics
JTechTown
 

Viewers also liked (18)

PDF
Wi max tutorial
Abhishek Kesharwani
 
PDF
Scheduling
Abhishek Kesharwani
 
PPT
uptu web technology unit 2 Xml2
Abhishek Kesharwani
 
PPT
Ip addressing classless
Abhishek Kesharwani
 
PDF
Routers and planes (1)
Abhishek Kesharwani
 
PDF
Routers and planes
Abhishek Kesharwani
 
PPT
Tcp traffic control and red ecn
Abhishek Kesharwani
 
PPT
Ip addressing classful
Abhishek Kesharwani
 
DOCX
Mtech syllabus computer science uptu
Abhishek Kesharwani
 
PPTX
uptu web technology unit 2 html
Abhishek Kesharwani
 
PPT
Rip ospf and bgp
Abhishek Kesharwani
 
PPTX
World Wide Web and Internet
Janecatalla
 
PDF
Internet and World Wide Web
Samudin Kassan
 
PPT
Dns ppt
Mauood Hamidi
 
PPT
TCP/IP Network ppt
extraganesh
 
PPT
Internet control message protocol
asimnawaz54
 
Wi max tutorial
Abhishek Kesharwani
 
uptu web technology unit 2 Xml2
Abhishek Kesharwani
 
Ip addressing classless
Abhishek Kesharwani
 
Routers and planes (1)
Abhishek Kesharwani
 
Routers and planes
Abhishek Kesharwani
 
Tcp traffic control and red ecn
Abhishek Kesharwani
 
Ip addressing classful
Abhishek Kesharwani
 
Mtech syllabus computer science uptu
Abhishek Kesharwani
 
uptu web technology unit 2 html
Abhishek Kesharwani
 
Rip ospf and bgp
Abhishek Kesharwani
 
World Wide Web and Internet
Janecatalla
 
Internet and World Wide Web
Samudin Kassan
 
Dns ppt
Mauood Hamidi
 
TCP/IP Network ppt
extraganesh
 
Internet control message protocol
asimnawaz54
 
Ad

Similar to uptu web technology unit 2 html (20)

DOCX
Unit 2
Abhishek Kesharwani
 
PPTX
HTML Basics, Web Development Part-2.pptx
Farzana Younas
 
PPTX
content creator passionate about architecture, culture, and design.
Suma Angari
 
PDF
Advanced html
Suneel Dogra
 
PDF
PPT-203105353-1.pdf
PINTUCHAUHAN8
 
PDF
Web Development 3 (HTML & CSS)
ghayour abbas
 
PPTX
Web Design HTML for beginners and advanced learners .pptx
mark575496
 
PPT
Web forms and html (lect 3)
Salman Memon
 
PPTX
HTML Tutorials
Arvind Kumar
 
PDF
basic knowledge abot html
Ankit Dubey
 
PDF
Full Stack Class in Marathahalli| AchieversIT
AchieversIT
 
PDF
HTML Notes For demo_classes.pdf
AchieversIT
 
PPT
HTML
Doeun KOCH
 
PPT
Web forms and html lecture Number 3
Mudasir Syed
 
PDF
hyper text markup language ppt-100605011058-phpapp02.pdf
Jayaprasanna4
 
PPTX
6th_sem_web_unit1_part2.pptxhshshshshshshsh
sagarjsicg
 
HTML Basics, Web Development Part-2.pptx
Farzana Younas
 
content creator passionate about architecture, culture, and design.
Suma Angari
 
Advanced html
Suneel Dogra
 
PPT-203105353-1.pdf
PINTUCHAUHAN8
 
Web Development 3 (HTML & CSS)
ghayour abbas
 
Web Design HTML for beginners and advanced learners .pptx
mark575496
 
Web forms and html (lect 3)
Salman Memon
 
HTML Tutorials
Arvind Kumar
 
basic knowledge abot html
Ankit Dubey
 
Full Stack Class in Marathahalli| AchieversIT
AchieversIT
 
HTML Notes For demo_classes.pdf
AchieversIT
 
Web forms and html lecture Number 3
Mudasir Syed
 
hyper text markup language ppt-100605011058-phpapp02.pdf
Jayaprasanna4
 
6th_sem_web_unit1_part2.pptxhshshshshshshsh
sagarjsicg
 
Ad

More from Abhishek Kesharwani (16)

PDF
Software Engineering unit 1 Notes AKTU ppt
Abhishek Kesharwani
 
PPTX
Software Engineering unit 1 Notes AKTU ppt
Abhishek Kesharwani
 
PPT
uptu web technology unit 2 Xml2
Abhishek Kesharwani
 
PPT
uptu web technology unit 2 Xml2
Abhishek Kesharwani
 
PPT
uptu web technology unit 2 Xml2
Abhishek Kesharwani
 
PPTX
Unit 1 web technology uptu slide
Abhishek Kesharwani
 
PDF
Unit1 Web Technology UPTU UNIT 1
Abhishek Kesharwani
 
PPTX
Unit1 2
Abhishek Kesharwani
 
PDF
Web Technology UPTU UNIT 1
Abhishek Kesharwani
 
PDF
Virtual lan
Abhishek Kesharwani
 
DOCX
Virtual lan
Abhishek Kesharwani
 
PDF
Schedulling
Abhishek Kesharwani
 
DOCX
Rsa example
Abhishek Kesharwani
 
PPT
Qo s rsvp......
Abhishek Kesharwani
 
PPT
Qo s 09-integrated and red
Abhishek Kesharwani
 
Software Engineering unit 1 Notes AKTU ppt
Abhishek Kesharwani
 
Software Engineering unit 1 Notes AKTU ppt
Abhishek Kesharwani
 
uptu web technology unit 2 Xml2
Abhishek Kesharwani
 
uptu web technology unit 2 Xml2
Abhishek Kesharwani
 
uptu web technology unit 2 Xml2
Abhishek Kesharwani
 
Unit 1 web technology uptu slide
Abhishek Kesharwani
 
Unit1 Web Technology UPTU UNIT 1
Abhishek Kesharwani
 
Web Technology UPTU UNIT 1
Abhishek Kesharwani
 
Virtual lan
Abhishek Kesharwani
 
Virtual lan
Abhishek Kesharwani
 
Schedulling
Abhishek Kesharwani
 
Rsa example
Abhishek Kesharwani
 
Qo s rsvp......
Abhishek Kesharwani
 
Qo s 09-integrated and red
Abhishek Kesharwani
 

Recently uploaded (20)

PDF
My Thoughts On Q&A- A Novel By Vikas Swarup
Niharika
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PPTX
Translation_ Definition, Scope & Historical Development.pptx
DhatriParmar
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PPTX
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PDF
EXCRETION-STRUCTURE OF NEPHRON,URINE FORMATION
raviralanaresh2
 
PDF
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
PPTX
YSPH VMOC Special Report - Measles Outbreak Southwest US 7-20-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
Top 10 AI Tools, Like ChatGPT. You Must Learn In 2025
Digilearnings
 
PPTX
Introduction to Probability(basic) .pptx
purohitanuj034
 
PPTX
K-Circle-Weekly-Quiz12121212-May2025.pptx
Pankaj Rodey
 
PPT
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
PPTX
Virus sequence retrieval from NCBI database
yamunaK13
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PDF
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
My Thoughts On Q&A- A Novel By Vikas Swarup
Niharika
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
Translation_ Definition, Scope & Historical Development.pptx
DhatriParmar
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
EXCRETION-STRUCTURE OF NEPHRON,URINE FORMATION
raviralanaresh2
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 7-20-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
Top 10 AI Tools, Like ChatGPT. You Must Learn In 2025
Digilearnings
 
Introduction to Probability(basic) .pptx
purohitanuj034
 
K-Circle-Weekly-Quiz12121212-May2025.pptx
Pankaj Rodey
 
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
Virus sequence retrieval from NCBI database
yamunaK13
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 

uptu web technology unit 2 html

  • 1. Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad
  • 2. HTML Images • In HTML, images are defined with the <img> tag. • The <img> tag is empty, which means that it contains attributes only, and has no closing tag. • To display an image on a page, you need to use the src attribute. Src stands for "source". The value of the src attribute is the URL of the image you want to display
  • 3. HTML Images <img src="url" alt="some_text“ width="304" height="228"> The URL points to the location where the image is stored. alt attribute specifies an alternate text for an image, if the image cannot be displayed. The height and width attributes are used to specify the height and width of an image.
  • 4. HTML Tables • Tables are defined with the <table> tag. • A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with the <td> tag). td stands for "table data," and holds the content of a data cell. A <td> tag can contain text, links, images, lists, forms, other tables, etc. • To display a table with borders, specify the border attribute.
  • 5. • Header information in a table are defined with the <th> tag. • All major browsers display the text in the <th> element as bold and centered. • Use rowspan to span multiple rows merging together table rows and colspan to span across multiple columns. • cellpadding attribute determines how much space will exist between a table cell border and the elements contained within it. • cellspacing determines how much space will exist between each table cell.
  • 7. <table border="1"> <tr> <td><b>Column 1</b></td> <td><b>Column 2</b></td> <td><b>Column 3</b></td> </tr> <tr> <td rowspan="2">Row 1 Cell 1</td> <td>Row 1 Cell 2</td> <td>Row 1 Cell 3</td> </tr> <tr> <td>Row 2 Cell 2</td> <td>Row 2 Cell 3</td> </tr> <tr> <td colspan="3">Row 3 Cell 1</td> </tr> </table>
  • 9. <table border="1" cellpadding="10“ > <tr> <td><b>Column 1</b></td> <td><b>Column 2</b></td> </tr> <tr> <td>Row 1 Cell 1</td> <td>Row 1 Cell 2</td> </tr> <tr> <td>Row 2 Cell 1</td> <td>Row 2 Cell 2</td> </tr> </table>
  • 10. HTML Lists • HTML lists appear in web browsers as bulleted lines of text. There are actually three different types of HTML lists, including unordered lists (bullets), ordered lists (numbers), and definition lists (think: dictionaries). • The actual list tags themselves, such as <ul>, are nothing but container elements for list items (<li>)
  • 11. html - unordered lists • An unordered list (<ul>) signifies to a web browser that all list items contained inside the <ul> tag should be rendered with a bullet preceding the text. • The default bullet type for most web browsers is a full disc (black circle), but this can be adjusted using an HTML attribute called type.
  • 12. html - unordered lists <ul> <li>Milk</li> <li>Toilet Paper</li> <li>Cereal</li> <li>Bread</li> </ul>
  • 13. HTML Unordered List Type • <ul type="square"> • <ul type="disc"> • <ul type="circle">
  • 14. html - ordered lists • An ordered list is defined using the <ol> tag, and list items placed inside of an ordered list are preceded with numbers instead of bullets. • The numbering of an HTML list can be changed to letters or Roman Numerals by once again adjusting the type attribute. • The start attribute allows you to further customize an HTML ordered list by setting a new starting digit for the ordered list element.
  • 15. HTML Numbered List Start Attribute <ol type=“a” start="4" > <li>Buy Food</li> <li>Enroll in College</li> <li>Get a Degree</li> </ol> <ol type="a“> <ol type="A"> <ol type="i"> <ol type="I">
  • 16. html - definition term lists HTML definition lists (<dl>) are list elements that have a unique array of tags and elements; the resulting listings are similar to those you'd see in a dictionary. • <dl> - opening clause that defines the start of the list • <dt> - list item that defines the definition term • <dd> - definition of the list item