Log in Sign up
2 Matching Annotations
  1. Apr 2021
  2. stackoverflow.com stackoverflow.com
    Image width/height as an attribute or in CSS?
    2
    1. TylerRick 16 Apr 2021
      in Public
      CSS seems like the right place to put visual information. On the other hand, few would argue that image "src" should not be specified as an attribute and the height/width seem as tied to the binary image data as the "src" is.
      software development: code organization: where does this code belong? tough question with several equally conclusive alternative answers good point
    2. TylerRick 16 Apr 2021
      in Public
      What's the "correct" semantic way to specify image height and width? In CSS... width:15px; or inline... <img width="15" ?
      semantically correct good question dilemma HTML CSS tough question with several equally conclusive alternative answers
    Visit annotations in context

    Tags

    • good question
    • software development: code organization: where does this code belong?
    • good point
    • dilemma
    • semantically correct
    • CSS
    • HTML
    • tough question with several equally conclusive alternative answers

    Annotators

    • TylerRick

    URL

    stackoverflow.com/questions/640190/image-width-height-as-an-attribute-or-in-css
Share:
Group. Only group members will be able to view this annotation.
Only me. No one else will be able to view this annotation.
Hypothes.is
  • About
  • Blog
  • Bioscience
  • Education
  • Jobs
  • Help
  • Contact
  • Terms of Service
  • Privacy Policy