+ 4
Why is width="100" and width="100%" not the same?
18 Respuestas
+ 11
"100" is the number of pixels 100% is 100 percent the normal size
+ 5
100 refers to pixels, whereas 100% means that the element will fill its parent. Understand, however, that the parent is NOT always the page itself. For instance, it could be a div.
+ 2
Fill in the blanks to create an h1 heading containing the text "My first website" followed by an h2 tag containing "Sample Page":
+ 1
Fill in the blanks to make the paragraph bold using the <b> tag:
<h1>Some heading</h1>
______
I am learning HTML
_______
</p>
+ 1
100% is mean its with is 100% compared to device width and 100 is means the width are 100px
+ 1
width="100" means the width is 100 pixels while "100%" means the width will be equal to the parent of the element that has the attribute width="100%"
0
by default width and are height are in pixels. we can set width and height in pixels, percentage or ems
0
One has a % sign and the other one don't. Hope that helped you.
0
Answer is No.
0
No
- 1
without the % sign attatched to it the "100" is expressed in pixels
- 1
cause 100 is pixels and 100% is percentage of overall size of page.
- 2
100 is the number of the width but 100%is just pixes
- 3
because without the % it's 100pixel
- 5
100% is how many % of the webpage and 100 is how many pixels.
- 5
100% defines that 100% of the web page is used and 100px means 100 pixes are used
- 5
100% is all page and 100 pixels is just 100 pix in all page
- 8
100 means pixel while 100 % means to double the size lol