URL stands for Uniform Resource Locator. The full address of a website is expressed through URL. Basically the web document located on the server is identified through the URL. For example, the image named 123.jpg of the user xyz located on Facebook is identified through the URL https://www.facebook.com/xyz/123.jpg, so when a user clicks on this link, he / she will directly see the image.
Parts of URL:
1) http = protocol
2) www = host
3) facebook = domain name
4) .com = domain type
5) xyz = directory
6) 123.jpg = web document
There are two types of URL. 1) Absolute URL and 2) Relative URL
Absolute URL: Such URLs contain both the domain name and the directory path. Absolute URL is usually used to create external connection of website.
Syntax: protocol/domain name/path
Relative URL: Such URLs contain only the directory path without the domain name. Relative URL is usually used to create internal connection of website.
Syntax: "filename.ext" / ". /directory/filename.ext"
Example:
<img src= "c:\desktop\new folder/123.jpg">
Here the Absolute URL is applied inside the image tag.
<img src= "123.jpg">
Here the Relative URL is applied inside the image tag.
Assessment:
Copy any URL and mark it separately in different parts and comment it.
Name: Naim
ReplyDeletehttps://www.prothomalo.com/sports/z0o60y1crn
https = protocol
www = host
prothomalo = domain name
.com = commercial domain type
sports = directory path
URL: https://github.com/hind-sagar-biswas/kbcQuizzo/blob/main/index.html
ReplyDeletehttps : protocol
github : domain name
.com : domain type
kbcQuizo, blob, main : directories
index.html : web documents
URL:https://khalidsliterature.blogspot.com/2022/07/what-is-web-url.html
ReplyDeletehttps:protocol
khalidsliterature: subdomain(maybe đ¤)
blogspot: domain
com: domain type
2022/07: directory
what-is-web-url.html: web document
URL:https://mahfuzulhasan.000webhostapp.com/main_files/Home.html
ReplyDeletehttps:protocol
mahfuzulhasan: subdomain name
000webhostapp: domain name
com: domain type
main_files: directory
home.html: web document
https://mahfuzulhasan.000webhostapp.com/main_files/home.html
ReplyDeletehttps:protocol
mahfuzulhasan: subdomain name
000webhostapp: domain name
com: domain type
main_files: directory
home.html: web document
Shojib Hossain
ReplyDeletehttps://www.asianapparels.com/apartment
http= protocol
www= host
asianapparels= domain name
com= domain type
apartment= web documents
Name: Shehab
ReplyDeleteURL: https://9anime.to/home
https: protocol
9anime: domain name
.to: domain type
home: directory
https://www.apple.com/iphone-13/key-features/
ReplyDeletehttp= protocol
www= host
apple= domain name
.com= domain type
iphone-13= directory
key-features= web documents
Name : Md.Rifat Billah
ReplyDeletehttps://khalidsliterature.blogspot.com/2022/07/what-is-web-url.html
https: protocol
khalidsliterature : sub domain
blogspot : domain name
.com : domain type
2020/07/:path
what-is-web-url.html : web document
.html : document type
Name: Mrinmoyee Mahbuba Ghani
ReplyDeletehttps://www.vivo.com/vivo v23/key-features/
https: protocol
www: host
vivo: domain name
.com: domain type
vivo v23: directory
key-features: web documents
Name: Farjana Wahid
ReplyDeletehttps://www.apple.com/iphone-8plus/key-features
https: protocol
www: host
apple: domain name
.com: domain type
iphone-8plus: directory
Key-features: web documents
Name:Daniel
ReplyDeletehttps://www.espncricinfo.com/
https=protocol
www=host
espncricinfo=domain name
.com=domain type
Name:Daniel
ReplyDeleteURL=https://m.cricbuzz.com/cricket-commentary
Protocol=https
Host=www
Domain name=cricbuzz
Domain type=.com
Web Document=cricket-commentary
Name:Alvi
ReplyDeleteURL:https://khalidsliterature.blogspot.com/2022/07/what-is-web-url.html
https:protocol
blogspot: domain
com: domain type
2022/07: directory
what-is-web-url.html: web document