SlideShare a Scribd company logo
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

PDF
Html table tags
eShikshak
 
PPTX
html-table
Dhirendra Chauhan
 
PPTX
Web design - Working with tables in HTML
Mustafa Kamel Mohammadi
 
PPTX
Html_Day_Three(W3Schools)
Rafi Haidari
 
PPTX
HTML [Basic] --by Abdulla-al Baset
Abdulla-al Baset
 
PPT
HTML (Hyper Text Markup Language) by Mukesh
Mukesh Kumar
 
PPTX
HTML Tables
Nisa Soomro
 
PPTX
Html tables
Er. Nawaraj Bhandari
 
Html table tags
eShikshak
 
html-table
Dhirendra Chauhan
 
Web design - Working with tables in HTML
Mustafa Kamel Mohammadi
 
Html_Day_Three(W3Schools)
Rafi Haidari
 
HTML [Basic] --by Abdulla-al Baset
Abdulla-al Baset
 
HTML (Hyper Text Markup Language) by Mukesh
Mukesh Kumar
 
HTML Tables
Nisa Soomro
 

What's hot (17)

PDF
Html tables
Sikandar Pandit
 
PPTX
Session on common html table
Rahul Kumar
 
PPTX
Css starting
Rahul Dihora
 
PPTX
Id and class selector
Jesus Obenita Jr.
 
PPT
Tables and Forms in HTML
Doncho Minkov
 
PPTX
Cascading style sheet
Michael Jhon
 
PPTX
What is css
Christopher Tetta
 
PPTX
Html&css lesson 2
Long Vương
 
PPTX
FYBSC IT Web Programming Unit I HTML 5 & andcss
Arti Parab Academics
 
PPT
Cascading Style Sheet
Meenakshi Paul
 
PPT
HTML (Hyper Text Markup Language)
Jishan Ali
 
PPT
Css lecture notes
Santhiya Grace
 
PPTX
Css ppt
Nidhi mishra
 
PPTX
CSS - LinkedIn
Gino Louie Peña, ITIL®,MOS®
 
ODP
An Introduction to Cascading Style Sheets (CSS3)
Ardee Aram
 
PPT
CSS
Sunil OS
 
Html tables
Sikandar Pandit
 
Session on common html table
Rahul Kumar
 
Css starting
Rahul Dihora
 
Id and class selector
Jesus Obenita Jr.
 
Tables and Forms in HTML
Doncho Minkov
 
Cascading style sheet
Michael Jhon
 
What is css
Christopher Tetta
 
Html&css lesson 2
Long Vương
 
FYBSC IT Web Programming Unit I HTML 5 & andcss
Arti Parab Academics
 
Cascading Style Sheet
Meenakshi Paul
 
HTML (Hyper Text Markup Language)
Jishan Ali
 
Css lecture notes
Santhiya Grace
 
Css ppt
Nidhi mishra
 
An Introduction to Cascading Style Sheets (CSS3)
Ardee Aram
 
CSS
Sunil OS
 
Ad

Viewers also liked (19)

DOCX
Assignment on data network
Abhishek Kesharwani
 
PDF
Unit 2.2
Abhishek Kesharwani
 
DOCX
Vb script tutorial
Abhishek Kesharwani
 
DOCX
Java server pages
Abhishek Kesharwani
 
PPT
Ip addressing classless
Abhishek Kesharwani
 
DOCX
Copy of cgi
Abhishek Kesharwani
 
DOCX
Elliptic curve cryptography
Abhishek Kesharwani
 
PPT
Tcp traffic control and red ecn
Abhishek Kesharwani
 
PPT
Ip addressing classful
Abhishek Kesharwani
 
PDF
2 simulation in aodv and dsr
Abhishek Kesharwani
 
PPT
01 tarih-caglar
Uğur Oral
 
PPT
1- İslamiyet Önce Türk Tarihi
Uğur Oral
 
Assignment on data network
Abhishek Kesharwani
 
Vb script tutorial
Abhishek Kesharwani
 
Java server pages
Abhishek Kesharwani
 
Ip addressing classless
Abhishek Kesharwani
 
Copy of cgi
Abhishek Kesharwani
 
Elliptic curve cryptography
Abhishek Kesharwani
 
Tcp traffic control and red ecn
Abhishek Kesharwani
 
Ip addressing classful
Abhishek Kesharwani
 
2 simulation in aodv and dsr
Abhishek Kesharwani
 
01 tarih-caglar
Uğur Oral
 
1- İslamiyet Önce Türk Tarihi
Uğur Oral
 
Ad

Similar to Html3 (20)

PPTX
uptu web technology unit 2 html
Abhishek Kesharwani
 
PPT
Web forms and html (lect 3)
Salman Memon
 
PPTX
HTML Basics, Web Development Part-2.pptx
Farzana Younas
 
PPTX
content creator passionate about architecture, culture, and design.
Suma Angari
 
DOCX
Unit 2
Abhishek Kesharwani
 
PDF
Web Development 3 (HTML & CSS)
ghayour abbas
 
PDF
Advanced html
Suneel Dogra
 
PPT
Web forms and html lecture Number 3
Mudasir Syed
 
PDF
PPT-203105353-1.pdf
PINTUCHAUHAN8
 
PPT
HTML
Doeun KOCH
 
PPTX
HTML
mohamedsaad24
 
PPTX
Lecture-3.pptx
vishal choudhary
 
PPT
Html introduction Part-2
AAKASH KUMAR
 
PDF
basic knowledge abot html
Ankit Dubey
 
PPTX
Html link and list tags
Himanshu Pathak
 
PDF
hyper text markup language ppt-100605011058-phpapp02.pdf
Jayaprasanna4
 
PPTX
6th_sem_web_unit1_part2.pptxhshshshshshshsh
sagarjsicg
 
PPTX
Chapter - 4.pptx marketing trends social media company profilesmarketing tren...
sauravifas
 
uptu web technology unit 2 html
Abhishek Kesharwani
 
Web forms and html (lect 3)
Salman Memon
 
HTML Basics, Web Development Part-2.pptx
Farzana Younas
 
content creator passionate about architecture, culture, and design.
Suma Angari
 
Web Development 3 (HTML & CSS)
ghayour abbas
 
Advanced html
Suneel Dogra
 
Web forms and html lecture Number 3
Mudasir Syed
 
PPT-203105353-1.pdf
PINTUCHAUHAN8
 
Lecture-3.pptx
vishal choudhary
 
Html introduction Part-2
AAKASH KUMAR
 
basic knowledge abot html
Ankit Dubey
 
Html link and list tags
Himanshu Pathak
 
hyper text markup language ppt-100605011058-phpapp02.pdf
Jayaprasanna4
 
6th_sem_web_unit1_part2.pptxhshshshshshshsh
sagarjsicg
 
Chapter - 4.pptx marketing trends social media company profilesmarketing tren...
sauravifas
 

More from Abhishek Kesharwani (20)

PDF
Software Engineering unit 1 Notes AKTU ppt
Abhishek Kesharwani
 
PPTX
Software Engineering unit 1 Notes AKTU ppt
Abhishek Kesharwani
 
PPTX
uptu web technology unit 2 html
Abhishek Kesharwani
 
PPTX
uptu web technology unit 2 html
Abhishek Kesharwani
 
PPTX
uptu web technology unit 2 html
Abhishek Kesharwani
 
PPTX
uptu web technology unit 2 html
Abhishek Kesharwani
 
PPTX
uptu web technology unit 2 Css
Abhishek Kesharwani
 
PPTX
uptu web technology unit 2 Css
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
 
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
 
DOCX
Mtech syllabus computer science uptu
Abhishek Kesharwani
 
PDF
Wi max tutorial
Abhishek Kesharwani
 
PDF
Virtual lan
Abhishek Kesharwani
 
DOCX
Virtual lan
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 html
Abhishek Kesharwani
 
uptu web technology unit 2 html
Abhishek Kesharwani
 
uptu web technology unit 2 html
Abhishek Kesharwani
 
uptu web technology unit 2 html
Abhishek Kesharwani
 
uptu web technology unit 2 Css
Abhishek Kesharwani
 
uptu web technology unit 2 Css
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
 
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
 
Mtech syllabus computer science uptu
Abhishek Kesharwani
 
Wi max tutorial
Abhishek Kesharwani
 
Virtual lan
Abhishek Kesharwani
 
Virtual lan
Abhishek Kesharwani
 

Html3

  • 1. 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
  • 2. 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.
  • 3. 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.
  • 4. • 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.
  • 6. <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>
  • 8. <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>
  • 9. 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>)
  • 10. 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.
  • 11. html - unordered lists <ul> <li>Milk</li> <li>Toilet Paper</li> <li>Cereal</li> <li>Bread</li> </ul>
  • 12. HTML Unordered List Type • <ul type="square"> • <ul type="disc"> • <ul type="circle">
  • 13. 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.
  • 14. 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">
  • 15. 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