Added "images referencing" from (#132 to #140) (#32839)

This commit is contained in:
Joshua Odoi
2018-12-04 01:49:55 +00:00
committed by Christopher McCormack
parent 6caead6255
commit eb7d5ca14f

View File

@ -5,7 +5,6 @@ title: HTML
# HTML
![html logo](https://www.w3.org/html/logo/badge/html5-badge-h-solo.png)
HyperText Markup Language (HTML) is the standard [markup language](https://en.wikipedia.org/wiki/Markup_language) used for creating web pages, web applications and moreover is the foundation of most websites today. A markup language like HTML allows us to:
1) Create links to other documents
@ -143,6 +142,16 @@ To create a link the `<a>` tag is used. The href attribute holds the URL address
<a href="https://www.youtube.com">A link to Youtube!</a>
```
**Images**
To insert an image, `<img>` tag is used. The `src` attribute holds the URL or path to the image.
```html
<img src="path/image_name.format" alt="descriptive text">
<img src="image_name.format" alt="descriptive text">
<img src="www.url/image_name.format" alt="descriptive text">
```
**Inputs**
There are many possible ways a user can give input/s, such as: