+ 1

What do absulte and relative mean?

12th Aug 2016, 5:03 PM
Reem Alashhab
Reem Alashhab - avatar
6 odpowiedzi
+ 1
@Simon Otter please explain what you comment in simple..I am beginner and not able to understand..sorry for it..but I want to know what is relative link and what is absolute link.....
22nd Aug 2016, 4:49 PM
Siddhartha Shukla
Siddhartha Shukla - avatar
0
@Jorge absolute is the full path eg: www.bbc.co.uk/sport/tennis/index.html A relative path, is relative to the current html file eg: if the current file is the index file from the above example and we wanted to link to football we could do ../football/index.html
19th Aug 2016, 5:49 AM
Simon Otter
Simon Otter - avatar
0
What I've understood in mr Simon's answer, absolute is from a certain web address or from a fixed directory from your device such as: D:\Documents\images\image.jpg While relative do not have the root directory such as: ../../images/image.jpg
23rd Aug 2016, 3:26 AM
Jojellyn Villanueva
Jojellyn Villanueva - avatar
0
@Siddhartha Shukla The two dots in ../football/index.html means that you go up a directory.
29th Aug 2016, 7:44 PM
Tommy Taraldsvik
Tommy Taraldsvik - avatar
0
Absolute and Relative elements works in the same way, nonetheless, the vital difference is their starting point. The absolute element works it's way with its parent element until it is given a value, in that case, it resets it's value making other absolute elements adjust their position, however, a relative element is independent and does not affect the positioning of other elements whatsoever. Both absolute and relative elements are not affected by other elements in context with overlapping and positioning but the non-static items are removed if they are absolutely positioned while relatively positioned items occupy their original position. Static or fixed elements remains unchanged, irrespective.
30th Aug 2016, 2:00 PM
Rida Alam Shamsi
0
relative is like parent and absolute is like child absolute is use to fix position with relative anything anywhere in webpage. like we want to write any thing on image we make image relative and text absolute and we write anywhere text on image. text position fix on image.
3rd Sep 2016, 8:06 AM
Dheeraj Kumar
Dheeraj Kumar - avatar