fix(guide): simplify directory structure

This commit is contained in:
Mrugesh Mohapatra
2018-10-16 21:26:13 +05:30
parent f989c28c52
commit da0df12ab7
35752 changed files with 0 additions and 317652 deletions

View File

@@ -0,0 +1,28 @@
---
title: Img Width Attribute
localeTitle: Atributo de ancho de img
---
## Atributo de ancho de img
El atributo HTML 'ancho' se refiere al ancho de una imagen. El valor en las citas es la cantidad de píxeles.
Por ejemplo, si ya tiene un enlace a una configuración de imagen a través del atributo `src` , puede agregar el atributo de ancho así:
```html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Img Width Attribute</title>
</head>
<body>
<img src="image.png" alt="Image" width="100"/>
</body>
</html>
```
En el fragmento de código de arriba hay una etiqueta de imagen y la imagen se establece en un ancho de 100 píxeles. `width="100"`
#### Más información:
[Artículo de MDN en la etiqueta img](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img)