Computer Science, asked by akshitaaaray, 11 months ago

Application based question.

1.Vikram is creating a website in which he wants to use different images as links to the webpages.Can you suggest him the required tag to accomplish the task?
[HTML based]

2.Ananya has to include multiple lines text and password field in her form.Which tag and attribute should she use?
[HTML based]​

Answers

Answered by anishasa
8

1.<img src="rose.jpg" alt="flowerrose" width="500" height="500">

img - The <img> contains attributes.

src - The src attribute specifies the URL (web address) of the image

alt - If a browser cannot find an image, it will display the value in the alt attribute it can be our own name.

2. <form>

<label for="pwd">Password:</label>

<input type="password" name="pwd">

<textarea rows = "5" cols = "60" name = "textarea">

</textarea>

</form>

name - The name of the textbox

Similar questions