Study Notes (07): Web front-end with a series of HTML5 mobile development: HTML articles 12, introduced in the image tag

Learning immediately: https://edu.csdn.net/course/play/4381/77476?utm_source=blogtoedu

img--->image

src--->source

By default, images are displayed in actual size

 

px -> pixels

 

  • When a picture is not present or an error path, the display contents corresponding to alt
  • alt -> altemate (alternative), which will help SEO (search engine optimization) search engine
  • alt only be used in the image tag, title tag can be used in all

 

Published 10 original articles · won praise 0 · Views 58

Guess you like

Origin blog.csdn.net/qq_42739069/article/details/105284498