SlideShare a Scribd company logo
Presented by: Nabin jamkatel
Absolute URL
 An Absolute URL, is thus something that is
independent or free from any relationships.
 When we use URL we point directly to a file.
 Hence absolute URL specifies the exact location of a
file/directory on the internet.
 It also follows that each absolute URL is unique which
means that two URL are identical.
 Syntax :-
<img src=“http//www.photobucket/image/a.jpg”
alt=“image”>
Relative URL
 An relative URL points to a file/ directory in relation to
present file directory
 For example:-
<img src=“../image/asian.jpg” alt=“asian”>
../= one step back from the folder to be on the root.
Differences between Absolute and
Relative URL
 Relative URL consumes more space than Absolute
URL
 Absolute URL consumes more time than Relative URL.
 The Absolute URL consumes more time to download
files where in relative URL the files are already in the
hardisk.
 Relative URL are more secure than Absolute URL.
Base element
 The <base> tag specifies the base URL/target for
relative URLs in a document.
 There can be at maximum one <base> element it must
be in <head> element.
 Syntax:
<!DOCTYPE>
<html>
<base href=“http://www.nepal1.com/images/”>
</head>
<body>
<img src=“Nepalsbeauty.jpg” width=“100” height=“100”
alt=“image”/>
<a href=“www.asm.edu.np”>Asian link</a>
</body>
</html>

More Related Content

Similar to File structure (8)

LINKING IN HTML
LINKING IN HTMLLINKING IN HTML
LINKING IN HTML
 
HTML Lists & Llinks
HTML Lists & LlinksHTML Lists & Llinks
HTML Lists & Llinks
 
Html links
Html linksHtml links
Html links
 
6 html links
6 html links6 html links
6 html links
 
ACTC 2013 Website Building Notes
ACTC 2013 Website Building NotesACTC 2013 Website Building Notes
ACTC 2013 Website Building Notes
 
HTML Foundations, pt 2
HTML Foundations, pt 2HTML Foundations, pt 2
HTML Foundations, pt 2
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Stanford Html5talk
Stanford Html5talkStanford Html5talk
Stanford Html5talk
 

More from Partnered Health

Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
Partnered Health
 
Question and questionnaire design
Question and questionnaire designQuestion and questionnaire design
Question and questionnaire design
Partnered Health
 

More from Partnered Health (20)

Spam Email identification
Spam Email identificationSpam Email identification
Spam Email identification
 
Final spam-e-mail-detection
Final  spam-e-mail-detectionFinal  spam-e-mail-detection
Final spam-e-mail-detection
 
Java For beginners and CSIT and IT students
Java  For beginners and CSIT and IT studentsJava  For beginners and CSIT and IT students
Java For beginners and CSIT and IT students
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
Hardware concept for graphics
Hardware concept  for graphics Hardware concept  for graphics
Hardware concept for graphics
 
Dom(document object model)
Dom(document object model)Dom(document object model)
Dom(document object model)
 
Web technology
Web technologyWeb technology
Web technology
 
Web inspector for front end developers..
Web inspector for front end developers..Web inspector for front end developers..
Web inspector for front end developers..
 
Web crawler and applications
Web crawler and applicationsWeb crawler and applications
Web crawler and applications
 
Semantic markup language
Semantic markup languageSemantic markup language
Semantic markup language
 
Meta tags
Meta tagsMeta tags
Meta tags
 
Listing in web development and uses
Listing in web development and usesListing in web development and uses
Listing in web development and uses
 
Fire bugfirebug and ways to install it..
Fire bugfirebug and ways to install it..Fire bugfirebug and ways to install it..
Fire bugfirebug and ways to install it..
 
Dreamweaver and idm
Dreamweaver and idmDreamweaver and idm
Dreamweaver and idm
 
Structure
StructureStructure
Structure
 
Analysis of unix and windows
Analysis of unix and windowsAnalysis of unix and windows
Analysis of unix and windows
 
Organizational aspect of sample survey
Organizational aspect of sample surveyOrganizational aspect of sample survey
Organizational aspect of sample survey
 
Question and questionnaire design
Question and questionnaire designQuestion and questionnaire design
Question and questionnaire design
 
Sampling
SamplingSampling
Sampling
 

Recently uploaded

Article writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptxArticle writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptx
abhinandnam9997
 
audience research (emma) 1.pptxkkkkkkkkkkkkkkkkk
audience research (emma) 1.pptxkkkkkkkkkkkkkkkkkaudience research (emma) 1.pptxkkkkkkkkkkkkkkkkk
audience research (emma) 1.pptxkkkkkkkkkkkkkkkkk
lolsDocherty
 
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
aagad
 

Recently uploaded (13)

The AI Powered Organization-Intro to AI-LAN.pdf
The AI Powered Organization-Intro to AI-LAN.pdfThe AI Powered Organization-Intro to AI-LAN.pdf
The AI Powered Organization-Intro to AI-LAN.pdf
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
 
Article writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptxArticle writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptx
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
audience research (emma) 1.pptxkkkkkkkkkkkkkkkkk
audience research (emma) 1.pptxkkkkkkkkkkkkkkkkkaudience research (emma) 1.pptxkkkkkkkkkkkkkkkkk
audience research (emma) 1.pptxkkkkkkkkkkkkkkkkk
 
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
 
The Best AI Powered Software - Intellivid AI Studio
The Best AI Powered Software - Intellivid AI StudioThe Best AI Powered Software - Intellivid AI Studio
The Best AI Powered Software - Intellivid AI Studio
 
Case study on merger of Vodafone and Idea (VI).pptx
Case study on merger of Vodafone and Idea (VI).pptxCase study on merger of Vodafone and Idea (VI).pptx
Case study on merger of Vodafone and Idea (VI).pptx
 
How Do I Begin the Linksys Velop Setup Process?
How Do I Begin the Linksys Velop Setup Process?How Do I Begin the Linksys Velop Setup Process?
How Do I Begin the Linksys Velop Setup Process?
 
Pvtaan Social media marketing proposal.pdf
Pvtaan Social media marketing proposal.pdfPvtaan Social media marketing proposal.pdf
Pvtaan Social media marketing proposal.pdf
 
Bug Bounty Blueprint : A Beginner's Guide
Bug Bounty Blueprint : A Beginner's GuideBug Bounty Blueprint : A Beginner's Guide
Bug Bounty Blueprint : A Beginner's Guide
 
The Use of AI in Indonesia Election 2024: A Case Study
The Use of AI in Indonesia Election 2024: A Case StudyThe Use of AI in Indonesia Election 2024: A Case Study
The Use of AI in Indonesia Election 2024: A Case Study
 

File structure

  • 2. Absolute URL  An Absolute URL, is thus something that is independent or free from any relationships.  When we use URL we point directly to a file.  Hence absolute URL specifies the exact location of a file/directory on the internet.  It also follows that each absolute URL is unique which means that two URL are identical.  Syntax :- <img src=“http//www.photobucket/image/a.jpg” alt=“image”>
  • 3. Relative URL  An relative URL points to a file/ directory in relation to present file directory  For example:- <img src=“../image/asian.jpg” alt=“asian”> ../= one step back from the folder to be on the root.
  • 4.
  • 5. Differences between Absolute and Relative URL  Relative URL consumes more space than Absolute URL  Absolute URL consumes more time than Relative URL.  The Absolute URL consumes more time to download files where in relative URL the files are already in the hardisk.  Relative URL are more secure than Absolute URL.
  • 6. Base element  The <base> tag specifies the base URL/target for relative URLs in a document.  There can be at maximum one <base> element it must be in <head> element.
  • 7.  Syntax: <!DOCTYPE> <html> <base href=“http://www.nepal1.com/images/”> </head> <body> <img src=“Nepalsbeauty.jpg” width=“100” height=“100” alt=“image”/> <a href=“www.asm.edu.np”>Asian link</a> </body> </html>