What will the browser display for the above HTML code?
<a href=”home.php”>Go to Home Page</a>
a) It will display the entire line as it is.
b) It will display- Go to Home Page
c) It will display- Go to Home Page(link)
d) First it will display home.php, and upon clicking it, it will display Go to Home Page.(link)
Answer: c
Explanation: It creates a link as Go to Home Page, upon clicking of which if redirects to home.php page.
Related Posts
Which attribute defines the file-select field?
Which attribute is used for activation of JavaScript?
How does the color attribute work?
Which of the following is a new input attribute introduce by HTML5?
What is the default type of ‘type’ attribute of <input> element?
Which browser supports mozCurrentSampleOffset?
What can not be done by controls attribute?
Join The Discussion