0

I thought we had to put units (either px or %) with attribute measurements? Looking at the below code, they don't use any units

<div class="section"> <h1><span>My Media</span></h1> <iframe height="150" width="300" src="https://www.youtube.com/embed/Q6_5InVJZ88" allowfullscreen frameborder="0"></iframe> </div>

26th May 2020, 5:17 AM
Ricardo
Ricardo - avatar
1 Respuesta
+ 3
it's because pixels is the default value if no unit is defined by the user
26th May 2020, 5:22 AM
Rellot's screwdriver
Rellot's screwdriver - avatar