[HTML] [attributo] height

height (attributo base HTML) stabilisce in pixel l’altezza dell’elemento HTML, indipendentemente dal suo contenuto. In mancanza, l’altezza dell’elemento si adatta al suo contenuto.

tag

valore

<canvas>

height = "[pixel]" (ad es., “100px”).
height = "[percentuale]" (ad es., “50%”).

<embed>

Come sopra.

<iframe>

Come sopra.

<img>

Come sopra.

<input>

Come sopra.

<object>

Come sopra.

<svg>

Come sopra.

<video>

Come sopra.

Esempio

<img src="http://goo.gl/0bRYKb" height="50">

attributi base html, html

Related Articles

0 Comment

Rispondi