SlideShare a Scribd company logo
2
Most read
4
Most read
5
Most read
HTML HYPERLINK
<a>......</a>
HTML IMAGES
<img src=“image.jpg">
Class: FY B. Tech Structural Engineering
Subject: IT for Engineers Prof. Jape Anuja Sanjay
Assistant Professor,
Department of Structural Engineering,
Sanjivani College of Engineering. Kopargaon
Email: japeanujast@sanjivani.org.in
HTML Links - Hyperlinks
• HTML links are hyperlinks.
• You can click on a link and jump to another
document/link/page.
• When you move the mouse over a link, the
mouse arrow will turn into a little hand.
• A link does not have to be text. A link can be an
image or any other HTML element.
• The HTML <a> tag defines a hyperlink. It has the
following syntax
<a href="url">link text</a>
Ref:https://www.w3schools.com/
HTML Links - The target Attribute
• By default, the linked page will be displayed in the
current browser window. To change this, you must
specify another target for the link.
• 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
Ref:https://www.w3schools.com/
HTML Links - Use an Image as a Link
To use an image as a link, just put the <img> tag
inside the <a> tag:
<a href=“url"> <img src=“img.jpg" alt=“alternate text”
style="width:32px;height:32px;"> </a>
Ref:https://www.w3schools.com/
Link to an Email Address
<p>
<a href="mailto:someone@example.com">Send email</a>
</p>
Button as a Link
• To use an HTML button as a link, you have to add some
JavaScript code.
• JavaScript allows you to specify what happens at
certain events, such as a click of a button.
<button onclick="document.location='default.asp'">HTML
Tutorial</button> Ref:https://www.w3schools.com/
Link Titles
The title attribute specifies extra information about an
element. The information is most often shown as a tooltip
text when the mouse moves over the element.
<a href="url" title="hello">Visit our Page</a>
Ref:https://www.w3schools.com/
HTML Images
• Images can improve the design and the appearance of a web
page.
• The HTML <img> tag is used to embed an image in a 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.
• The <img> tag is empty, it contains attributes only, and does not
have a closing tag.
• The <img> tag has two required attributes:
•src - Specifies the path to the image
•alt - Specifies an alternate text for the image
<img src="url" alt="alternatetext">
Ref:https://www.w3schools.com/
•Use the HTML <img> element to define an image
•Use the HTML src attribute to define the URL of the image
•Use the HTML alt attribute to define an alternate text for an image, if it cannot be displayed
•Use the HTML width and height attributes or the CSS width and height properties to define the size
of the image
•Use the CSS float property to let the image float to the left or to the right
Ref:https://www.w3schools.com/

More Related Content

PDF
Talk about link tag and image tag ppt.pdf
PPTX
Frontend Devlopment internship batch 2024.pptx
PPTX
Frontend Devlopment internship batch 2024-2.pptx
PPTX
website-development Hyper Text Markup Language.pptx
PPTX
More on HTML Communication Skills BASICS
PPTX
HTML_Day_Two(W3Schools)
PDF
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
PPTX
Introduction to HTML: The Building Block of the Web by Infinite Web Solutions...
Talk about link tag and image tag ppt.pdf
Frontend Devlopment internship batch 2024.pptx
Frontend Devlopment internship batch 2024-2.pptx
website-development Hyper Text Markup Language.pptx
More on HTML Communication Skills BASICS
HTML_Day_Two(W3Schools)
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
Introduction to HTML: The Building Block of the Web by Infinite Web Solutions...

Similar to What is HTML Hyperlinks and HTML Images? (20)

PPTX
Best Option to learn start here HTML.pptx
PPTX
Web Development PPT from Chd University.
PPTX
Introduction to html fundamental concepts
PPTX
BVK_PTT_HTML-Unit - III (1).pptx
PPTX
4_5926925443935505826.pptx
PPTX
HTML Images & Hyperlinks Presentation ..
PPTX
AttributesL3.pptx
PPT
it is a forntend ppt that discussed the topics of HTMl CSSfrontend.ppt
PPTX
CAP 756 UNIT 1.pptx
PPTX
BASIC HTML
PDF
Understanding HTML: Creating Text Links for Navigation and Image Links for In...
PPT
html
PPTX
HTML : INTRODUCTION TO WEB DESIGN Presentation
PPTX
HTML introduction for beginners Slides .pptx
PPT
Web forms and html (lect 2)
PPTX
gdsc-html-ppt.pptx
PPTX
Simple Presentation in Pink Lilac Pastel Blobs Basic Style.pptx.pptx
PPTX
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Best Option to learn start here HTML.pptx
Web Development PPT from Chd University.
Introduction to html fundamental concepts
BVK_PTT_HTML-Unit - III (1).pptx
4_5926925443935505826.pptx
HTML Images & Hyperlinks Presentation ..
AttributesL3.pptx
it is a forntend ppt that discussed the topics of HTMl CSSfrontend.ppt
CAP 756 UNIT 1.pptx
BASIC HTML
Understanding HTML: Creating Text Links for Navigation and Image Links for In...
html
HTML : INTRODUCTION TO WEB DESIGN Presentation
HTML introduction for beginners Slides .pptx
Web forms and html (lect 2)
gdsc-html-ppt.pptx
Simple Presentation in Pink Lilac Pastel Blobs Basic Style.pptx.pptx
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Ad

More from AnujaJape2 (6)

PDF
How to add table using HTML? HTML table styles.
PDF
3 HTML attributes, style,format,quo,cit.pdf
PDF
HTML? What is Hyper Text Mark Up Language
PDF
CEM_Unit-I_Lecture Notes.pdf
PDF
CEM_Unit-II_Lecture Notes.pdf
PPTX
Brick information.pptx
How to add table using HTML? HTML table styles.
3 HTML attributes, style,format,quo,cit.pdf
HTML? What is Hyper Text Mark Up Language
CEM_Unit-I_Lecture Notes.pdf
CEM_Unit-II_Lecture Notes.pdf
Brick information.pptx
Ad

Recently uploaded (20)

PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Artificial Intelligence
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
additive manufacturing of ss316l using mig welding
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPT
Project quality management in manufacturing
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Foundation to blockchain - A guide to Blockchain Tech
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Artificial Intelligence
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Automation-in-Manufacturing-Chapter-Introduction.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Internet of Things (IOT) - A guide to understanding
additive manufacturing of ss316l using mig welding
CH1 Production IntroductoryConcepts.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
CYBER-CRIMES AND SECURITY A guide to understanding
Lecture Notes Electrical Wiring System Components
Operating System & Kernel Study Guide-1 - converted.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Project quality management in manufacturing

What is HTML Hyperlinks and HTML Images?

  • 1. HTML HYPERLINK <a>......</a> HTML IMAGES <img src=“image.jpg"> Class: FY B. Tech Structural Engineering Subject: IT for Engineers Prof. Jape Anuja Sanjay Assistant Professor, Department of Structural Engineering, Sanjivani College of Engineering. Kopargaon Email: japeanujast@sanjivani.org.in
  • 2. HTML Links - Hyperlinks • HTML links are hyperlinks. • You can click on a link and jump to another document/link/page. • When you move the mouse over a link, the mouse arrow will turn into a little hand. • A link does not have to be text. A link can be an image or any other HTML element. • The HTML <a> tag defines a hyperlink. It has the following syntax <a href="url">link text</a> Ref:https://www.w3schools.com/
  • 3. HTML Links - The target Attribute • By default, the linked page will be displayed in the current browser window. To change this, you must specify another target for the link. • 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 Ref:https://www.w3schools.com/
  • 4. HTML Links - Use an Image as a Link To use an image as a link, just put the <img> tag inside the <a> tag: <a href=“url"> <img src=“img.jpg" alt=“alternate text” style="width:32px;height:32px;"> </a> Ref:https://www.w3schools.com/
  • 5. Link to an Email Address <p> <a href="mailto:someone@example.com">Send email</a> </p> Button as a Link • To use an HTML button as a link, you have to add some JavaScript code. • JavaScript allows you to specify what happens at certain events, such as a click of a button. <button onclick="document.location='default.asp'">HTML Tutorial</button> Ref:https://www.w3schools.com/
  • 6. Link Titles The title attribute specifies extra information about an element. The information is most often shown as a tooltip text when the mouse moves over the element. <a href="url" title="hello">Visit our Page</a> Ref:https://www.w3schools.com/
  • 7. HTML Images • Images can improve the design and the appearance of a web page. • The HTML <img> tag is used to embed an image in a 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. • The <img> tag is empty, it contains attributes only, and does not have a closing tag. • The <img> tag has two required attributes: •src - Specifies the path to the image •alt - Specifies an alternate text for the image <img src="url" alt="alternatetext"> Ref:https://www.w3schools.com/
  • 8. •Use the HTML <img> element to define an image •Use the HTML src attribute to define the URL of the image •Use the HTML alt attribute to define an alternate text for an image, if it cannot be displayed •Use the HTML width and height attributes or the CSS width and height properties to define the size of the image •Use the CSS float property to let the image float to the left or to the right Ref:https://www.w3schools.com/