Wednesday, December 15, 2021

Width/Height Attributes or Style?

The first image uses the width attribute (set to 128 pixels), but the style in the head section overrides it, and sets the width to 100%.

HTML5 Icon

The second image uses the style attribute to set the width to 128 pixels, this will not be overridden by the style in the head section:

HTML5 Icon HTML

No comments:

Post a Comment