HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML width Attribute

HTML width Attribute



The width attribute is used to specify the width of the element in pixels.


Used With:-


Elements Attribute
canvas width
embed width
iframe width
img width
input width
object width
video width




Its syntax is:- < element width="value" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML