SlideShare a Scribd company logo
2
Most read
4
Most read
9
Most read
COMPUTER APPLICATIONS
CLASS X (Code 165)
TOPIC:
UNIT 2: Link & List Tags
By
HIMANSHU PATHAK
Contents
• Introduction
• Image Tag
• Link Tag
• List Tags
– Ordered List
– Unordered List
– Description List
Image Tag: <img>
• HTML <img> tag is used to display image on the
web page.
• Images are not technically inserted into a web
page. images are linked to web pages.
• The <img> tag creates a holding space for the
referenced image.
• Syntax:
– <img src="" alt="" width="" height="">
Attributes of <img> Tag
• src: It is used to specify the path to the image.
• alt: The alt attribute defines an alternate text for
the image, if it can't be displayed.
• height: It is used to specify the height of the
image.
• width: It is used to specify the width of the
image.
• Note: To link an image to another document,
simply nest the <img> tag inside an <a> tag
HTML Link: Anchor tag <a>
• HTML links are hyperlinks.
• We can click on a link and jump to another
document/page.
• When we move the mouse over a link, the
mouse arrow will turn into a little hand.
• Note: A link does not have to be text. A link can
be an image or any other HTML element.
• An anchor <a> tag defines a hyperlink that links
one page to another page.
Cont…
• The most important attribute of the <a> element
is the href attribute, which indicates the link's
destination.
• Syntax:
– <a href="url"> link text </a>
• By default, links will appear as follows in all
browsers:
– An unvisited link is underlined and blue
– A visited link is underlined and purple
– An active link is underlined and red
Cont…
• The target attribute specifies where to open the
linked document.
• The target attribute can have one of the following
values:
• _self - Default. Opens the document in the same
window/tab as it was clicked
• _blank - Opens the document in a new window or tab
• _parent - Opens the document in the parent frame
• _top - Opens the document in the full body of the window
Cont…
• Use mailto: inside the href attribute to create a
link that opens the user's email program (to let
them send a new email):
– <a href="mailto:him.786@gmail.com">Send email</a>
• Significance of Links:
– The basic function of a link is to make a reference,
from an HTML document to a resource, which can be
itself another document.
– In other words, a link defines a relationship between
two resources on the web.
HTML Lists
• Lists are used to group together related pieces of
information so they are clearly associated with
each other and easy to read.
• There are three list types in HTML:
– unordered list — used to group a set of related items
in no particular order
– ordered list — used to group a set of related items in
a specific order
– description list — used to display name/value pairs
such as terms and definitions
Unordered list: <ul> </ul>
• An unordered list starts with the “ul” tag.
• Each list item starts with the “li” tag.
• By default, Each item in the list is marked with a
bullet.
• Example:
<ul>
<li>Tea</li>
<li>Milk</li>
<li>Coffee</li>
</ul>
Cont…
• We can use type attribute for <ul> tag to specify
the type of bullet we like.
• By default, it is a disc. Following are the possible
options −
– <ul type = "square">
– <ul type = "disc">
– <ul type = "circle">
Ordered Lists: <ol> </ol>
• Ordered (numbered) lists are used to display a
list of items that should be in a specific order.
• The ordered list starts with <ol> tag and the list
items start with <li> tag.
• Example:
<ol>
<li>Item1</li>
<li>Item2</li>
<li>Item3</li>
</ol>
Cont…
• You can use type attribute for <ol> tag to specify
the type of numbering you like.
• By default, it is a number. Following are the
possible options:
– <ol type = "1"> - Default-Case Numerals.
– <ol type = "I"> - Upper-Case Numerals.
– <ol type = "i"> - Lower-Case Numerals.
– ol type = "A"> - Upper-Case Letters.
– <ol type = "a"> - Lower-Case Letters.
Cont…
• Other than “type” attribute, there are 2 more
important attributes in ordered list:
• reversed: It defines that the order will be
descending.
– Syntax: <ol reversed>
• start: It defines that from which number or
alphabet the order will start.
– Syntax: <ol start="5">
Description Lists
• Description lists (previously called definition lists, but renamed in
HTML5) associate specific names and values within a list.
• Examples might be items in an ingredient list and their
descriptions, article authors and brief bios.
• Description lists use one set of <dl></dl> tags wrapped around
one or more groups of <dt> </dt> (name) and <dd> </dd> (value)
tags.
• Example:
<dl>
<dt>Coffee</dt>
<dd>- 500 ml</dd>
<dt>Milk</dt>
<dd>- 1 ltr </dd>
</dl>
Cont…
• Define a Definition List - <dl> </dl>
– Set the start and end of a definition list. All entries go
within the dl tags.
• Definition Title - <dt> </dt>
– The title of a term being defined or multiple terms
with the same definition.
• Definition Description - <dd> </dd>
– The definition of a term.
Summary
• Image tags
• Link and List Tags
• In the next class, we will start Unit II – HTML
Tables in detail.
•Thanks

More Related Content

PPTX
Operators php
PPT
Introduction to JavaScript
PPTX
Sgml and xml
PPTX
Language processor
PPT
PPT
Advanced Cascading Style Sheets
PPT
Web Servers (ppt)
PPTX
Html ppt
Operators php
Introduction to JavaScript
Sgml and xml
Language processor
Advanced Cascading Style Sheets
Web Servers (ppt)
Html ppt

What's hot (20)

PPT
Html Slide Part-1
PPT
PPT
Introduction to JavaScript (1).ppt
PPT
Web servers
PPTX
Html coding
PPT
HTML Tags
PPTX
Input output redirection linux
PPTX
Elements of html powerpoint
PDF
Introduction to HTML5
PPTX
PPT
PHP variables
PPTX
HTML Forms
PPTX
Visual Basic Controls ppt
PPTX
Introduction to php
DOC
Active browser web page
PDF
Basics of JavaScript
PDF
Bootstrap
PPTX
HTML Text formatting tags
PPTX
Css selectors
Html Slide Part-1
Introduction to JavaScript (1).ppt
Web servers
Html coding
HTML Tags
Input output redirection linux
Elements of html powerpoint
Introduction to HTML5
PHP variables
HTML Forms
Visual Basic Controls ppt
Introduction to php
Active browser web page
Basics of JavaScript
Bootstrap
HTML Text formatting tags
Css selectors
Ad

Similar to Html link and list tags (20)

PDF
Web Development 3 (HTML & CSS)
PPTX
web page.pptxb dvcdhgdhdbdvdhudvehsusvsudb
PPTX
UNIT 3 presentation for subj ITWS 01.pptx
PPTX
Web Development - Lecture 3
PPTX
HTML Basics, Web Development Part-2.pptx
PPT
HTML List, Nesting List & Hyperlinks.ppt
PPTX
FYBSC IT Web Programming Unit I HTML 5 & andcss
PPTX
List and Links.pptx
PPTX
More on HTML Communication Skills BASICS
PPT
Introduction to HTML, CSS, and Scripting In the world of web development, thr...
PPT
Introduction to HTML
PPT
lists-and-links.ppt
PPT
html-lists-ordered-unordered-and-links.ppt
PPT
lists-and-links.ppt
PPT
HTML_JavaScript_Malaysia_2008 (2).ppt
PPTX
BITM3730Week1.pptx
PPT
lists-and-links.ppt lists and link ppt...
PPTX
HTML : INTRODUCTION TO WEB DESIGN Presentation
Web Development 3 (HTML & CSS)
web page.pptxb dvcdhgdhdbdvdhudvehsusvsudb
UNIT 3 presentation for subj ITWS 01.pptx
Web Development - Lecture 3
HTML Basics, Web Development Part-2.pptx
HTML List, Nesting List & Hyperlinks.ppt
FYBSC IT Web Programming Unit I HTML 5 & andcss
List and Links.pptx
More on HTML Communication Skills BASICS
Introduction to HTML, CSS, and Scripting In the world of web development, thr...
Introduction to HTML
lists-and-links.ppt
html-lists-ordered-unordered-and-links.ppt
lists-and-links.ppt
HTML_JavaScript_Malaysia_2008 (2).ppt
BITM3730Week1.pptx
lists-and-links.ppt lists and link ppt...
HTML : INTRODUCTION TO WEB DESIGN Presentation
Ad

More from Himanshu Pathak (17)

PPTX
Introduction to E commerce
PPTX
Digital property rights
PPTX
Intellectual property rights
PPTX
An Introduction to Cyber Ethics
PPTX
Cascading style sheet part 2
PPTX
Cascading style sheet an introduction
PPTX
Html multimedia
PPTX
Html forms
PPTX
Html tables
PPTX
Basic html tags
PPTX
Introduction to html
PPTX
Mobile technologies
PPTX
Web services
PPTX
Remote Login and File Transfer Protocols
PPTX
Internet protocol
PPTX
Introduction to internet
PPTX
What is Computer?
Introduction to E commerce
Digital property rights
Intellectual property rights
An Introduction to Cyber Ethics
Cascading style sheet part 2
Cascading style sheet an introduction
Html multimedia
Html forms
Html tables
Basic html tags
Introduction to html
Mobile technologies
Web services
Remote Login and File Transfer Protocols
Internet protocol
Introduction to internet
What is Computer?

Recently uploaded (20)

PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
master seminar digital applications in india
PDF
Insiders guide to clinical Medicine.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Cell Structure & Organelles in detailed.
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Cell Types and Its function , kingdom of life
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Business Ethics Teaching Materials for college
PDF
RMMM.pdf make it easy to upload and study
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
O7-L3 Supply Chain Operations - ICLT Program
Final Presentation General Medicine 03-08-2024.pptx
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
master seminar digital applications in india
Insiders guide to clinical Medicine.pdf
Complications of Minimal Access Surgery at WLH
Cell Structure & Organelles in detailed.
Week 4 Term 3 Study Techniques revisited.pptx
Basic Mud Logging Guide for educational purpose
Cell Types and Its function , kingdom of life
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Business Ethics Teaching Materials for college
RMMM.pdf make it easy to upload and study
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table

Html link and list tags

  • 1. COMPUTER APPLICATIONS CLASS X (Code 165) TOPIC: UNIT 2: Link & List Tags By HIMANSHU PATHAK
  • 2. Contents • Introduction • Image Tag • Link Tag • List Tags – Ordered List – Unordered List – Description List
  • 3. Image Tag: <img> • HTML <img> tag is used to display image on the web page. • Images are not technically inserted into a web page. images are linked to web pages. • The <img> tag creates a holding space for the referenced image. • Syntax: – <img src="" alt="" width="" height="">
  • 4. Attributes of <img> Tag • src: It is used to specify the path to the image. • alt: The alt attribute defines an alternate text for the image, if it can't be displayed. • height: It is used to specify the height of the image. • width: It is used to specify the width of the image. • Note: To link an image to another document, simply nest the <img> tag inside an <a> tag
  • 5. HTML Link: Anchor tag <a> • HTML links are hyperlinks. • We can click on a link and jump to another document/page. • When we move the mouse over a link, the mouse arrow will turn into a little hand. • Note: A link does not have to be text. A link can be an image or any other HTML element. • An anchor <a> tag defines a hyperlink that links one page to another page.
  • 6. Cont… • The most important attribute of the <a> element is the href attribute, which indicates the link's destination. • Syntax: – <a href="url"> link text </a> • By default, links will appear as follows in all browsers: – An unvisited link is underlined and blue – A visited link is underlined and purple – An active link is underlined and red
  • 7. Cont… • The target attribute specifies where to open the linked document. • The target attribute can have one of the following values: • _self - Default. Opens the document in the same window/tab as it was clicked • _blank - Opens the document in a new window or tab • _parent - Opens the document in the parent frame • _top - Opens the document in the full body of the window
  • 8. Cont… • Use mailto: inside the href attribute to create a link that opens the user's email program (to let them send a new email): – <a href="mailto:him.786@gmail.com">Send email</a> • Significance of Links: – The basic function of a link is to make a reference, from an HTML document to a resource, which can be itself another document. – In other words, a link defines a relationship between two resources on the web.
  • 9. HTML Lists • Lists are used to group together related pieces of information so they are clearly associated with each other and easy to read. • There are three list types in HTML: – unordered list — used to group a set of related items in no particular order – ordered list — used to group a set of related items in a specific order – description list — used to display name/value pairs such as terms and definitions
  • 10. Unordered list: <ul> </ul> • An unordered list starts with the “ul” tag. • Each list item starts with the “li” tag. • By default, Each item in the list is marked with a bullet. • Example: <ul> <li>Tea</li> <li>Milk</li> <li>Coffee</li> </ul>
  • 11. Cont… • We can use type attribute for <ul> tag to specify the type of bullet we like. • By default, it is a disc. Following are the possible options − – <ul type = "square"> – <ul type = "disc"> – <ul type = "circle">
  • 12. Ordered Lists: <ol> </ol> • Ordered (numbered) lists are used to display a list of items that should be in a specific order. • The ordered list starts with <ol> tag and the list items start with <li> tag. • Example: <ol> <li>Item1</li> <li>Item2</li> <li>Item3</li> </ol>
  • 13. Cont… • You can use type attribute for <ol> tag to specify the type of numbering you like. • By default, it is a number. Following are the possible options: – <ol type = "1"> - Default-Case Numerals. – <ol type = "I"> - Upper-Case Numerals. – <ol type = "i"> - Lower-Case Numerals. – ol type = "A"> - Upper-Case Letters. – <ol type = "a"> - Lower-Case Letters.
  • 14. Cont… • Other than “type” attribute, there are 2 more important attributes in ordered list: • reversed: It defines that the order will be descending. – Syntax: <ol reversed> • start: It defines that from which number or alphabet the order will start. – Syntax: <ol start="5">
  • 15. Description Lists • Description lists (previously called definition lists, but renamed in HTML5) associate specific names and values within a list. • Examples might be items in an ingredient list and their descriptions, article authors and brief bios. • Description lists use one set of <dl></dl> tags wrapped around one or more groups of <dt> </dt> (name) and <dd> </dd> (value) tags. • Example: <dl> <dt>Coffee</dt> <dd>- 500 ml</dd> <dt>Milk</dt> <dd>- 1 ltr </dd> </dl>
  • 16. Cont… • Define a Definition List - <dl> </dl> – Set the start and end of a definition list. All entries go within the dl tags. • Definition Title - <dt> </dt> – The title of a term being defined or multiple terms with the same definition. • Definition Description - <dd> </dd> – The definition of a term.
  • 17. Summary • Image tags • Link and List Tags • In the next class, we will start Unit II – HTML Tables in detail. •Thanks