HTML TUTORIALS-
-HTML File Paths Tag β
Introduction-
πΉ-HTML, file paths are used to link to external files like images, scripts, stylesheets, or other HTML pages. They tell the browser where to find the resource on the server or system.HTML, file paths are used to specify the location of files (like images, CSS, JavaScript, etc.) that your web page uses. There are two types of file paths..
πΉ Two Main Types of Paths
πΉAbsolute Path: Full URL (includes domain).
πΉRelative Path: Refers to file locations based on the current page's location.
β 1)-Examples of HTML File Paths:-π
<img src="favicon.jpg" alt="Company Logo">
β 2)-Examples of HTML File Paths:-π
<link rel="stylesheet" href="css/style.css">
β 3)-Examples of HTML File Paths β Subfolder: -π
<img src="images/pic.jpg" alt="Image">
β 4)-Examples of HTML File Paths β Parent folder: -π
<img src="../pic.jpg" alt="Image">