HTML links connect pages or resources. A text link uses <a> with text inside, while an image link places an <img> inside <a> to make the image clickable.
More on HTML Communication Skills BASICSGraceChokoli1
This document provides information on creating lists, inserting images, and creating links in HTML. It discusses the tags used to create ordered and unordered lists, and how to modify list attributes. Images can be inserted using the <img> tag along with attributes to specify the source, size, alignment. Links are created using the <a> tag and href attribute to specify the link target. The id attribute can create anchors on a page to serve as link targets. Files can also be linked to allow downloading. All links should be verified regularly to ensure they remain valid.
Creating a web site involves linking pages together using hyperlinks. Hyperlinks are created with anchor tags and can link to other pages within the same site using relative paths or to external resources using absolute paths and URLs. Images and email addresses can also be linked. Attributes like target and title can provide additional functionality or information for links. Inline styles allow styling elements directly in the HTML code.
The document provides information on adding images and links to HTML documents. Some key points include:
- The <a> tag is used to define links, with the "href" attribute specifying the link destination. Links can be absolute, relative, or email links.
- The <img> tag inserts images, requiring the "src" attribute to specify the image file path. Images can also have an "alt" attribute to provide alternative text.
- Accessible links use descriptive text, avoid generic text like "click here", and don't open links in new windows without indication.
- Images improve user experience and engagement. They are added using the <img> tag and can also be made into
The document discusses the use of hyperlinks in HTML, highlighting their role in web navigation by linking to other pages or documents. It explains the syntax for creating links, including basic links, links to external sites, and links to email addresses, along with best practices like using the title attribute. Additionally, it describes how images can be used as hyperlinks and provides examples of HTML elements such as the <marquee> and <table> tags.
This document discusses various aspects of working with links and images in HTML. It covers how to create links using the <a> tag and href attribute, different types of links like absolute and relative URLs, common link mistakes to avoid, and how to link to other pages, locations on the same page, files, email addresses, and images. It also discusses how to add images using the <img> tag, and how to specify attributes like src, alt, width, height, alignment, spacing, and using images as links within the <a> tag.
Project 03 Creating Web Pages with Links, Images, and Formatted TextAngela Edel
This document provides instructions for formatting text and adding links, images, and other elements to web pages. It describes how to change link colors using body tag attributes, create internal and external links using anchor tags, add images and wrap text around them, and format text styles like bold and italics. Attributes for the body, image, font, and anchor tags are outlined to control backgrounds, spacing, sizes and other properties.
What is HTML Hyperlinks and HTML Images?AnujaJape2
The document provides an overview of HTML hyperlinks and images, detailing how to create and manipulate links using the <a> tag and how to embed images with the <img> tag. It describes attributes for links such as 'target' and 'title', as well as the use of images to enhance web page design, including required attributes like 'src' and 'alt'. Additionally, it explains how to use buttons as links with JavaScript and includes references to external resources for further reading.
02- Links, Structure and Layout with HTML.pdfthkbmb4rb4
The document discusses HTML links and page structure. It explains that links allow users to connect webpages and jump to different sections using the <a> tag. The href attribute specifies the URL of the linked page. Links can be internal, linking to other pages on the same site, or external, linking to outside websites. HTML elements like <header>, <nav>, and <footer> are used to define common page sections and structure layout.
This document discusses hyperlinks and how to create and style them. It covers the <a> anchor element used to create hyperlinks and the href attribute to specify the URL. Absolute and relative URLs are described. Best practices for file naming, linking within pages using IDs, and accessibility considerations like skip links and access keys are provided. Pseudo-classes like :hover, :visited and :active allow styling link states. Mobile usability of hyperlinks is also addressed.
The document discusses various HTML tags and properties related to images. It describes the <img> tag used to embed images, and attributes like src, alt, width, and height. It also covers image maps defined using <map> and <area> tags, floating images, setting background images, and positioning images using absolute vs relative positioning. The document provides examples of how to style links and text, add audio and video, work with frames, and includes tags like <head>, <script>, and <meta>.
The document discusses several common HTML attributes. It explains that the href attribute specifies the URL for hyperlinks defined by the <a> tag. The src attribute specifies the path to an image for the <img> tag. Attributes like width, height, and alt provide additional information about images. The style attribute can define styles for elements. The lang and title attributes provide language and tooltip information, respectively.
There are different types of links that can be used to connect web pages:
1. Text links using the <a> tag and href attribute to specify the destination URL.
2. Graphic links by placing an <img> tag within an <a> tag to make an image clickable.
3. Internal links within a single page using anchor tags pointed to by links with a # before the anchor name.
4. Links to specific points on other pages by inserting an anchor and referring to it with a # in the href attribute.
5. Opening a link in a new window using the target="_blank" attribute.
This document provides an overview of hyperlinks, including:
- Hyperlinks allow pages to link to other documents, files, locations or sections using <a href> tags.
- Common hyperlink attributes include href, name, target. Sample codes demonstrate linking within pages, to external sites, emails, and files.
- Navigation should be clear and distinct. Common types include left, top, and tab navigation.
- Anchor tags <a name> identify locations on a page, while <a href> links to those locations from other parts of the page or other pages.
- Images, headings, and other elements can be made into hyperlinks by enclosing them in <a> tags
The document provides an overview of hyperlinking in HTML, including the use of the anchor tag (<a>) to create links to various content, both internal and external to a website. It discusses absolute and relative paths for linking, the target attribute for link behavior, and methods for linking to specific sections within pages. Additionally, it addresses linking to different types of content and the consideration of browser compatibility for non-HTML files.
The document discusses various HTML tags for images, links, and email links. It provides the syntax and attributes for image tags like <img> and describes how to specify image source, size, alignment, and more. It also explains the different types of links - internal, local, and global - and how to create them using <a> tags and href attributes. The document concludes with assignments to create basic web pages using these tags and linking between pages.
The document explains the HTML image element, including how to code it using the <img> tag and style it with CSS. It provides examples of using images for banners, backgrounds, hyperlinks, galleries and layouts. It demonstrates coding the src, alt, height, width, title, and border attributes. It also shows how to make images hyperlinks and add hover effects with CSS. The document includes an example webpage code using various styling techniques for images.
This document provides an introduction and overview of HTML and web programming. It discusses the basic tools and software needed, including a text editor and web browser. It covers fundamental HTML tags and structures, such as the <head> and <body> sections, headings, paragraphs, lists, links, and images. It also explains how to add comments, horizontal rules, and meta tags. The document is intended to teach beginners the essential elements of HTML and building basic web pages.
This document discusses HTML tags for images (<img>) and links (<a>). It provides the syntax and common attributes for <img> such as src, width, height, and alt. It also describes how to create image maps using <map> and <area> tags. For links, it explains the three types (internal, local, global) and provides examples of each. The <a> email tag is also covered for creating mailto links. Assignments are given to create pages using these tags, including mapping an image and linking between pages.
HTML is used to create web pages and contains tags that define text, images, and other content. Some key tags include:
<p> for paragraphs, <b> for bold text, <i> for italics, and <img> for images. Links between pages are created using the <a> tag along with the href attribute. Forms allow users to enter text, select options, and submit information using tags like <input> for text boxes and buttons, <select> for drop-down menus, and <textarea> for multiple lines of text. The <form> tag defines the form and includes attributes for submission handling.
The document provides an overview of HTML links, explaining how to create hyperlinks using the <a> tag and specifying the href attribute for link destinations. It describes the differences between absolute and relative URLs, as well as uses for the target attribute to determine where links open. Additionally, it covers using bookmarks for navigation within long web pages and details link colors and the title attribute for providing extra information.
This chapter discusses how to create web pages using links, images, and formatted text. It covers how to add links within pages and to other websites, embed images, format text using styles like bold and italics, create lists, and validate the code. The document provides step-by-step instructions for writing HTML code to build a sample web page for a pasta restaurant using these various features.
The document provides information on various HTML elements including <q> for short quotations, <bdo> for reversing text direction, and <dfn> for defining terms. It also discusses elements for long quotations (<blockquote>), comments (<!-- -->), links (<a>), images (<img>), and using images as links. The document contains descriptions and syntax examples for using these various HTML elements.
This document provides instructions on basic HTML tags for formatting text and adding images and links to a web page. Key tags covered include <html>, <head>, <body>, headings <h1>-<h6>, paragraphs <p>, line breaks <br>, bold <b>, italic <i>, underline <u>, fonts <font>, horizontal rules <hr>, backgrounds <body>, images <img>, and links <a>. The document contains examples of code for each tag discussed to demonstrate its proper usage in an HTML page.
The document explains HTML hyperlinks, including how to create links using the <a> tag, specify destinations with the href attribute, and set link behaviors with the target attribute. It also covers local versus absolute URLs, link colors, image links, and bookmarks for easy navigation within long web pages. Key takeaways include using the <a> and <img> elements, defining bookmarks with the id attribute, and providing additional information through the title attribute.
The document provides instructions for various web design tasks in lesson 3, including adding links within pages and to external pages, inserting images and adding alternative text descriptions, using images as links, creating image maps with hotspots, and adding rollover images using two images of the same size. Students are tasked with creating a webpage featuring rollover images and an image map, and uploading it, as well as a welcome/introduction homepage page with links to previous work, other sites, and interactive buttons using rollover images.
The document discusses slides from a class on HTML and CSS. It notes that exams will be open-book but cell phones and email cannot be used, and any phone calls during the exam must be approved by the proctor. Examples of HTML tags for headings, paragraphs, links, images, and tables are also provided.
Attributes provide additional information about HTML elements and are included in element tags. There are several common attributes like id, class, style, title, and lang that can be used on most elements. The src attribute is used within the <img> tag to specify the path to an image, and the <a> tag uses href to define a hyperlink. Meta tags provide metadata and settings for things like the character set, viewport, and keywords.
The document discusses how to create hyperlinks and anchors in web pages by using tags like <a> and attributes like href to link text or images to other pages, emails, or sections within the page. It also explains how to create a basic text-based navigation bar using HTML tags like <nav>, <ul>, and <li> to help visitors navigate between different pages of a website. The document provides guidance on using relative and absolute URLs, opening links in new windows, and creating internal anchors for navigation.
Chromatography Slides for the course of Introduction to Biology and Chemistry...Md. Arif Shahriar
This presentation was made as a coursework of "Introduction to Biology and Chemistry for Computation" Course under Fatema Tuj Johora ma'am at Daffodil International University.
This document discusses hyperlinks and how to create and style them. It covers the <a> anchor element used to create hyperlinks and the href attribute to specify the URL. Absolute and relative URLs are described. Best practices for file naming, linking within pages using IDs, and accessibility considerations like skip links and access keys are provided. Pseudo-classes like :hover, :visited and :active allow styling link states. Mobile usability of hyperlinks is also addressed.
The document discusses various HTML tags and properties related to images. It describes the <img> tag used to embed images, and attributes like src, alt, width, and height. It also covers image maps defined using <map> and <area> tags, floating images, setting background images, and positioning images using absolute vs relative positioning. The document provides examples of how to style links and text, add audio and video, work with frames, and includes tags like <head>, <script>, and <meta>.
The document discusses several common HTML attributes. It explains that the href attribute specifies the URL for hyperlinks defined by the <a> tag. The src attribute specifies the path to an image for the <img> tag. Attributes like width, height, and alt provide additional information about images. The style attribute can define styles for elements. The lang and title attributes provide language and tooltip information, respectively.
There are different types of links that can be used to connect web pages:
1. Text links using the <a> tag and href attribute to specify the destination URL.
2. Graphic links by placing an <img> tag within an <a> tag to make an image clickable.
3. Internal links within a single page using anchor tags pointed to by links with a # before the anchor name.
4. Links to specific points on other pages by inserting an anchor and referring to it with a # in the href attribute.
5. Opening a link in a new window using the target="_blank" attribute.
This document provides an overview of hyperlinks, including:
- Hyperlinks allow pages to link to other documents, files, locations or sections using <a href> tags.
- Common hyperlink attributes include href, name, target. Sample codes demonstrate linking within pages, to external sites, emails, and files.
- Navigation should be clear and distinct. Common types include left, top, and tab navigation.
- Anchor tags <a name> identify locations on a page, while <a href> links to those locations from other parts of the page or other pages.
- Images, headings, and other elements can be made into hyperlinks by enclosing them in <a> tags
The document provides an overview of hyperlinking in HTML, including the use of the anchor tag (<a>) to create links to various content, both internal and external to a website. It discusses absolute and relative paths for linking, the target attribute for link behavior, and methods for linking to specific sections within pages. Additionally, it addresses linking to different types of content and the consideration of browser compatibility for non-HTML files.
The document discusses various HTML tags for images, links, and email links. It provides the syntax and attributes for image tags like <img> and describes how to specify image source, size, alignment, and more. It also explains the different types of links - internal, local, and global - and how to create them using <a> tags and href attributes. The document concludes with assignments to create basic web pages using these tags and linking between pages.
The document explains the HTML image element, including how to code it using the <img> tag and style it with CSS. It provides examples of using images for banners, backgrounds, hyperlinks, galleries and layouts. It demonstrates coding the src, alt, height, width, title, and border attributes. It also shows how to make images hyperlinks and add hover effects with CSS. The document includes an example webpage code using various styling techniques for images.
This document provides an introduction and overview of HTML and web programming. It discusses the basic tools and software needed, including a text editor and web browser. It covers fundamental HTML tags and structures, such as the <head> and <body> sections, headings, paragraphs, lists, links, and images. It also explains how to add comments, horizontal rules, and meta tags. The document is intended to teach beginners the essential elements of HTML and building basic web pages.
This document discusses HTML tags for images (<img>) and links (<a>). It provides the syntax and common attributes for <img> such as src, width, height, and alt. It also describes how to create image maps using <map> and <area> tags. For links, it explains the three types (internal, local, global) and provides examples of each. The <a> email tag is also covered for creating mailto links. Assignments are given to create pages using these tags, including mapping an image and linking between pages.
HTML is used to create web pages and contains tags that define text, images, and other content. Some key tags include:
<p> for paragraphs, <b> for bold text, <i> for italics, and <img> for images. Links between pages are created using the <a> tag along with the href attribute. Forms allow users to enter text, select options, and submit information using tags like <input> for text boxes and buttons, <select> for drop-down menus, and <textarea> for multiple lines of text. The <form> tag defines the form and includes attributes for submission handling.
The document provides an overview of HTML links, explaining how to create hyperlinks using the <a> tag and specifying the href attribute for link destinations. It describes the differences between absolute and relative URLs, as well as uses for the target attribute to determine where links open. Additionally, it covers using bookmarks for navigation within long web pages and details link colors and the title attribute for providing extra information.
This chapter discusses how to create web pages using links, images, and formatted text. It covers how to add links within pages and to other websites, embed images, format text using styles like bold and italics, create lists, and validate the code. The document provides step-by-step instructions for writing HTML code to build a sample web page for a pasta restaurant using these various features.
The document provides information on various HTML elements including <q> for short quotations, <bdo> for reversing text direction, and <dfn> for defining terms. It also discusses elements for long quotations (<blockquote>), comments (<!-- -->), links (<a>), images (<img>), and using images as links. The document contains descriptions and syntax examples for using these various HTML elements.
This document provides instructions on basic HTML tags for formatting text and adding images and links to a web page. Key tags covered include <html>, <head>, <body>, headings <h1>-<h6>, paragraphs <p>, line breaks <br>, bold <b>, italic <i>, underline <u>, fonts <font>, horizontal rules <hr>, backgrounds <body>, images <img>, and links <a>. The document contains examples of code for each tag discussed to demonstrate its proper usage in an HTML page.
The document explains HTML hyperlinks, including how to create links using the <a> tag, specify destinations with the href attribute, and set link behaviors with the target attribute. It also covers local versus absolute URLs, link colors, image links, and bookmarks for easy navigation within long web pages. Key takeaways include using the <a> and <img> elements, defining bookmarks with the id attribute, and providing additional information through the title attribute.
The document provides instructions for various web design tasks in lesson 3, including adding links within pages and to external pages, inserting images and adding alternative text descriptions, using images as links, creating image maps with hotspots, and adding rollover images using two images of the same size. Students are tasked with creating a webpage featuring rollover images and an image map, and uploading it, as well as a welcome/introduction homepage page with links to previous work, other sites, and interactive buttons using rollover images.
The document discusses slides from a class on HTML and CSS. It notes that exams will be open-book but cell phones and email cannot be used, and any phone calls during the exam must be approved by the proctor. Examples of HTML tags for headings, paragraphs, links, images, and tables are also provided.
Attributes provide additional information about HTML elements and are included in element tags. There are several common attributes like id, class, style, title, and lang that can be used on most elements. The src attribute is used within the <img> tag to specify the path to an image, and the <a> tag uses href to define a hyperlink. Meta tags provide metadata and settings for things like the character set, viewport, and keywords.
The document discusses how to create hyperlinks and anchors in web pages by using tags like <a> and attributes like href to link text or images to other pages, emails, or sections within the page. It also explains how to create a basic text-based navigation bar using HTML tags like <nav>, <ul>, and <li> to help visitors navigate between different pages of a website. The document provides guidance on using relative and absolute URLs, opening links in new windows, and creating internal anchors for navigation.
Chromatography Slides for the course of Introduction to Biology and Chemistry...Md. Arif Shahriar
This presentation was made as a coursework of "Introduction to Biology and Chemistry for Computation" Course under Fatema Tuj Johora ma'am at Daffodil International University.
lysosomes "suicide bags of cell" and hydrolytic enzymeskchaturvedi070
Lysosomes are membrane-bound organelles found in most animal cells (rare in plants) that function as the digestive system of the cell. They contain hydrolytic enzymes that can break down various biomolecules.Single membrane enclosing the organelle.Contains over 50 types of digestive enzymes (hydrolases).Enzymes function best at acidic pH (~4.5–5.0), maintained by proton pumps in the lysosomal membrane.
An Analysis Of The Pearl Short Story By John SteinbeckBillyDarmawan3
John Steinbeck Popular Short Story
The Pearl adalah sebuah novella yang ditulis oleh John Steinbeck yang mengisahkan perjuangan seorang nelayan miskin bernama Kino dan istrinya, Juana, yang hidup sederhana di sebuah desa kecil Meksiko. Suatu hari, Kino menemukan sebuah mutiara raksasa — "the Pearl of the World" — yang diyakini akan mengubah nasib mereka.
Namun, alih-alih membawa kebahagiaan, mutiara itu justru menimbulkan keserakahan, kekerasan, dan penderitaan. Masyarakat di sekitarnya mulai menunjukkan niat jahat, dan bahkan keluarga Kino sendiri terjebak dalam konflik batin antara harapan dan kehancuran. Pada akhirnya, The Pearl menjadi simbol ironi: sesuatu yang tampak sebagai berkah berubah menjadi kutukan.
Melalui cerita ini, Steinbeck mengeksplorasi tema keserakahan, harapan, kemiskinan, dan ketimpangan sosial. Dengan gaya narasi yang lugas namun penuh makna simbolik, The Pearl menjadi refleksi tajam tentang sifat manusia dan dampak tragis dari keinginan yang tak terkendali.
How Psychology Can Power Product Decisions: A Human-Centered Blueprint- Shray...ShrayasiRoy2
In an era where users are bombarded with endless choices, capturing attention and driving meaningful engagement isn't just about building features — it's about understanding what drives human behavior at its core. This presentation offers a deep dive into how psychological principles can inform smarter, more intuitive product decisions. It’s not just theory — it’s a hands-on blueprint for applying human-centered thinking at every stage of product development.
Grounded in behavioral science, consumer psychology, and cognitive design, this deck unpacks the key psychological drivers behind user motivation, decision-making, emotional engagement, and habit formation. From attention economics and dopamine-driven interactions to trust cues, loss aversion, and the paradox of choice — you'll see how to harness what the mind naturally does to build digital products people don’t just use… they return to, talk about, and even advocate for.
We’ll explore:
Cognitive biases that shape user perception and choices — and how to use them to your advantage without crossing ethical lines.
Emotional design principles that build trust, trigger desire, and turn features into feelings.
User behavior loops that build stickiness, deepen retention, and create emotional investments.
Psychological friction — when to reduce it for conversion, and when to add it for intentionality.
Dark patterns vs. ethical persuasion — the thin line between influence and manipulation.
A/B testing with a psychological lens — learning not just what works, but why it works.
This is more than UX research or product marketing fluff. It’s a call to build with empathy, backed by science, and sharpened by real-world product thinking. Whether you’re shaping onboarding flows, gamifying engagement, designing pricing models, or rethinking retention strategies — this deck will arm you with a new lens: the human mind.
Perfect for product managers, growth strategists, UX designers, behavioral scientists, and anyone serious about building products that resonate, retain, and inspire action.
Because at the heart of every great product… is a human.
Let’s start building for the brain — not just the screen.
What is Skeleton system.pptx by aahil sirbhatbashir421
science, any system of knowledge that is concerned with the physical world and its phenomena and that entails unbiased observations and systematic experimentation. In general, a science involves a pursuit of knowledge covering general truths or the operations of fundamental laws.
Science can be divided into different branches based on the subject of study. The physical sciences study the inorganic world and comprise the fields of astronomy, physics, chemistry, and the Earth sciences. The biological sciences such as biology and medicine study the organic world of life and its processes. Social sciences like anthropology and economics study the social and cultural aspects of human behaviour.
Science is further treated in a number of articles. For the history of Western and Eastern science, see science, history of. For the conceptualization of science and its interrelationships with culture, see science, philosophy of. For the basic aspects of the scientific approach, see physical science, principles of; and scientific method.
Model of a molecule. Atom, Biology, Molecular Structure, Science, Science and Technology. Homepage 2010 arts and entertainment, history and society
Britannica Quiz
Science Quiz
The Editors of Encyclopaedia Britannica
This article was most recently revised and updated by Encyclopaedia Britannica.
physics
Table of Contents
Introduction & Top Questions
The scope of physics
The methodology of physics
Relations between physics and other disciplines and society
References & Edit History
Related Topics
Images & Videos
Bernoulli model of gas pressureillustration of Robert Hooke's law of elasticity of materialsLaser Interferometer Space Antenna (LISA)curved space-timetemperature scalesBrownian particleElectromagnetic radiationDiffraction gratingMillikan oil-drop experiment
Robert Millikan's method for measuring the charge of an electron
For Students
Diffraction grating
physics summary
Quizzes
Michael Faraday (L) English physicist and chemist (electromagnetism) and John Frederic Daniell (R) British chemist and meteorologist who invented the Daniell cell.
Faces of Science
Italian-born physicist Dr. Enrico Fermi draws a diagram at a blackboard with mathematical equations. circa 1950.
Physics and Natural Law
Italian physicist Guglielmo Marconi at work in the wireless room of his yacht Electra, c. 1920.
All About Physics Quiz
atom. Orange and green illustration of protons and neutrons creating the nucleus of an atom.
Another Physics Quiz
Encyclopaedia Britannica thistle graphic to be used with a Mendel/Consumer quiz in place of a photograph.
How Much Do You Know About Physics?
Related Questions
Why does physics work in SI units?
Read Next
Highway Night Traffic Portland, drive, driving, car, automobile.
What's the Difference Between Speed and Velocity?
Galaxy clusters like Abell 2744 can act as a natural cosmic lens, magnifying light from more distant, background objects through gravity.
2. Previous Lecture
➢ Front End Developer (HTML, CSS, JavaScript)
➢ Text Editor (Sublime Text)
➢ Basic HTML Structure
➢ Basic HTML Tags and formatting
➢ HTML Elements and Attributes
➢ HTML List
3. Overview
➢ HTML Comment
➢ Text and Document Link
➢ Email and Phone link
➢ Image Element and Attribute
➢ Image Link
4. HTML Comment
➢ Comment is a piece of code which is ignored by any web browser.
➢ Comments help you and others understand your code and increases code
readability
➢ It is a good practice to add comments into your HTML code, especially in
complex documents
<!-- This is valid comment -->
< !-- This is not valid comment -->
<!-- This is a multiline comment and it can
span through as many as lines you like. -->
<p>This is <comment>not</comment> Internet Explorer 6.</p>
5. HTML Link
➢ A webpage can contain various links that take you directly to other pages and even
specific parts of a given page
➢ Hyperlinks allow visitors to navigate between Web sites by clicking on words, phrases, and
images.
➢ There are three different kinds of links you can have on your website:
• Links to anchors on the current page (Internal).
• Links to other pages within the current site (Local)
• Links to pages outside the current site (Global).
➢ A link is specified by anchor tag <a></a>.
➢ The href attribute specifies the destination address
➢ (http://www.google.com)
<a href="http://www.google.com" >Go to Google</a>
6. Global Link
➢ Provide the full URL for the document, including the protocol (http://), the
domain name, and the path name.
➢ You need to use an absolute URL when pointing to a document is not on
your own server.
<a href=“http://www.google.com">Google</a>
<a href="http://www. http://www.w3.org/html/">W3 HTML</a>
➢ Use of Base Path
• When you link HTML documents related to the same website, it is not required to give a
complete URL for every link.
• You can get rid of it if you use <base> tag in your HTML document header.
<head>
<base href="http://www.w3.org">
</head>
<body>
<a href="/html/">HTMLTutorial</a>
</body>
7. Local Link
➢ A local link (link to the same web site) is specified with a relative URL
➢ It doesn’t require the protocol or domain name just the path name. (without
http://www).
<a href=“English/news.html">News</a>
➢ You can going back to main page(index.html)
<a href=“../index.html">Main</a>
8. Setting Link
➢ The target Attribute
• The target attribute specifies where to open the linked document.
<a href="/../index.htm" target="_blank">Opens in New</a>
<a href="/../index.htm" target="_self">Opens in the same page</a>
➢ Link Colors
• You can set colors of your links, active links and visited links using
link, alink and vlink attributes of <body> tag.
<body alink="#54A250" link="#040404" vlink="#F40633">
<p>Click following link</p>
<a href="../index.htm" target="_blank" >HTMLLink</a>
</body>
9. Internal Link(Bookmark)
➢ HTML bookmarks are used to allow readers to jump to specific parts of a
Web page.
➢ This is a two step process.
• First create a link to the place where you want to reach with-in a webpage
and name it using <a...> tag as follows:
• Second step is to create a hyperlink to link the document and place where
you want to reach:
<h1>HTML Text Links <a name="top"></a></h1>
<a href=“#top">Go to the Top</a>
• Or, add a link to the bookmark from another page:
<a href=“English/news.html#top">Go to the news Top</a>
10. Mail link
Mail Links:
➢ Using the mailto protocol in a link,
you can link to an email address.
➢ When the user clicks on a mailto link, the
browser opens a new mail message
preaddressed to that address in
a designated mail program.
➢ You can specify a default email subject and email body alongwith your
email address.
<a href= "mailto:[email protected]">Send Email</a>
<a href="mailto:[email protected]?subject=Operations&body=The
Operations have been done successfully ">Send Eamil </a>
11. Phone link
Call Links:
➢ If the smartphones people are using to access your
website, they can also use to make phone calls
➢ The syntax uses the tel: scheme and is very simple
<a href="tel:+9647701234567">Call us free at (+964)-07701234567 </a>
Message Links:
➢ They can also use to send message
<a href="sms:+9647701234567">New SMS Message</a>
12. HTML Image
➢ Images are very important to beautify as well as to depict many complex
concepts in simple way on your web page.
➢ As a designer – and especially a web designer – it’s important to know the
difference between the different image formats and how to use them in each
situation.
➢ Gif, jpg and PNG files are
all three used for the websites.
➢ Lossless means that the image is made smaller, but at no detriment to the
quality.
➢ Lossy means the image is made (even) smaller, but at a detriment to the
quality.
13. Insert Image
➢ You can insert any image in your web page by using <img> tag that is
empty tag
➢ it contains attributes only as well as Image name is always case
sensitive.
➢ The src attribute specifies the URL (on Another Server) or location ( in
Another Folder) of the image
➢ The alt attribute is a mandatory attribute which specifies an alternate text for
an image, if the image cannot be displayed.
➢ Because of slow connection or an error in the src attribute
<img src="/html/images/flower.jpg" alt=“Flower Image" />
<img src="/html/images/flower.jpg"/>
<img src="http://www.echoecho.com/rainbow.gif" />
14. Width and Height or Style
➢ You can change the size of an image using the
width and height attributes.
➢ In general, it is not advisable to reduce image size using these settings.
This will slow the loading of your webpage.
➢ You should reduce the size in a graphics program, rather than reducing the
size on the webpage using the width and height attributes.
➢ You can specify width and height of the image in terms of either pixels or
percentage of its actual size.
<img src="/html/images/flower.jpg" alt=“Flower Image" width="150" height="100"/>
<img src="/html/images/flower.jpg" alt=“Flower Image" width=“50%" height=“50%"/>
➢ I suggest you use the style attribute. It prevents styles sheets from
changing the original size of images:
<img src=“flower.jpg" alt=“flower" style="width:128px ; height:128px ;">
15. Image Border and Alignment
➢ By default image will have a border around it, you can specify border thickness
in terms of pixels using border attribute. A thickness of 0 means, no border
around the picture.
<img src="/html/images/flower.jpg" alt=“Flower Image" border="3"/>
➢ You can easily add space over, under, left and right
your images with the Vspace and Hspace attribute.
<img src="rainbow.gif" Hspace="30" Vspace="10">
➢ By default image will align at the left side of the page, but you can
use align attribute to set it in the center or right.
<img src="/html/images/test.png" alt="Test Image" border="3" align="right"/>
16. Using an Image as a Link
➢ If you want to make an image work as a link, the method is exactly the
same as with texts.
➢ You simply place the <a href> and the </a> tags on each side of the
image
<a href=“google.com” target="_self">
<img src="/images/flower.jpg" alt=“google" border="0"/>
</a>
➢ The image can float to the right or to the left of a text
<img src="smiley.gif" alt="Smileyface" style="float:right;width:42px;height:
42px;">
<img src="smiley.gif" alt="Smileyface" style="float:left;width:42px;height:42
px;">
17. Image Mapping
➢ It is possible to make one image link to several pages, depending on where the
image is clicked.
➢ You simply specify which areas of the image should link to where
➢ Client side image maps are enabled by the usemap attribute of the <img
/> tag and defined by special <map> and <area> extension tags.
<img src=“/images/html.gif” alt="HTML Map" border="0" usemap="#html"/>
<map name="html">
<area shape="rect" coords="5,5,40,40" href=“flower1.html" />
<area shape="circle" coords="80,80,20" href=“flower2.html" />
</map>