In this article we will learn about some of the frequently asked HTML programming questions in technical like “path in html” Code Answer’s. When creating scripts and web applications, error handling is an important part. If your code lacks error checking code, your program may look very unprofessional and you may be open to security risks. Error or stack handling on html was simple and easy. An error message with filename, line number and a message describing the error is sent to the browser. This tutorial contains some of the most common error checking methods in HTML. Below are some solution about “path in html” Code Answer’s.
path in html
xxxxxxxxxx
1
/ = Root directory
2
. = This location
3
.. = Up a directory
4
./ = Current directory
5
../ = Parent of current directory
6
../../ = Two directories backwards
html relative path
xxxxxxxxxx
1
<!--The ./ means the contact.html file is in the same file
2
as the file that is linked to it-->
3
<a href="./contact.html">Contact</a>