I have two questions related to css check description | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I have two questions related to css check description

1.what is absolute and relative path 2.what does rel and href signifies

30th Jul 2020, 8:26 AM
Kyle
Kyle - avatar
1 Answer
+ 3
Rel and href: When u are linking your CSS file that is a stylesheet, you make a link tag in the head of html <link rel = "stylesheet" href = "styles/style.css" /> Rel means relationship, href means where the file is located. Positions absolute and relative are given to html elements through css, suppose u want an object to move a little bit right than it is, u can say position: relative; and then left: 10px; So basically, relative and absolute allow us to use left right bottom top properties.
30th Jul 2020, 9:54 AM
maf
maf - avatar