Basic HTML Tags questions

  1. Which tag is used to link CSS file to html file?
  2. which tag is used to link javascript file to html file?
  3. what is purpose if alt attribute of <img> tag?
2 Likes

1.link
2.script
3.Whenever internet is slow name given in alt appears in the place of image

2 Likes
  1. rel: stylesheet
  2. script
  3. alternate text for an image
1 Like
  1. Style
  2. Script
  3. If there is any issue in displaying the image , it will show the content present in the alt attribute
1 Like

link
script
it is used to provide alternative info

1 Like
  1. link
    2.script
    3.if image is not found or not loaded then it will appears in place of image
1 Like

1.link
2.Script
3. Alt will show alternative given content in the place of image if the image itself is not showing up

1 Like
  1. Which tag is used to link CSS file to html file?
2. which tag is used to link javascript file to html file? tag 3. what is purpose if `alt` attribute of `` tag? To display the name of the image if the image fails to display due to some error.
1 Like

Style
Script
Alternative text in image

1 Like

Style tag
Script tag
Alter the image Link

1 Like

link rel=“stylesheet”

src=“script”

if we provide any fault img link then whatever we write in alt attribute it shows

1 Like
  1. Link tag
  2. Script tag
  3. Showing name alternative of image when its not working
1 Like
  1. link tag
  2. script tag
  3. alt attribute shows the alternative name to the image
1 Like

link
script
it is used to provide alternative info

1 Like