Home > front end >  , genuflect is begged
, genuflect is begged

Time:12-05

Why are some links with the background image, some are directly use pictures, why? Why ah?

CodePudding user response:

Img is HTML tags, priority to load, can add Alt attributes, search engine search, background is the CSS properties, no semantic, in short, important to prioritize with img, modified with the background of the less important background

CodePudding user response:

reference 1st floor JiexC0la response:
img HTML tags, priority to load, can add Alt attributes, search engine search, background is the CSS properties, no semantic, in short, important to prioritize with img, decorate with the background of the less important background

Seems to be wrong, ignore the first floor, use a label jump, main is convenient the mouse moved to the url can be seen

CodePudding user response:

refer to the second floor JiexC0la response:
Quote: refer to 1st floor JiexC0la response:
img HTML tags, priority to load, can add Alt attributes, search engine search, background is the CSS properties, no semantic, in short, important to prioritize with img, decorate with the background of the less important background

Seem to understand is wrong, ignore the first floor, use a label to jump, the main is convenient the mouse moved to the url can be seen right

Good?? , thank you
  • Related