Horje

Full Example of HTML Images in Another Folder

index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h2>Images in Another Folder</h2>
<p>It is common to store images in a sub-folder. You must then include the folder name in the src attribute:</p>

<img src="/images/html5.gif" alt="HTML5 Icon" style="width:128px;height:128px;">

</body>
</html>

Output should be:

Full Example of HTML Images in Another Folder




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Images
Uploaded by:
Admin