Related: BNF 101 Base Informatiques
Summary
summary
- use
<a href=‘Link’> </a>
whenever you want to insert a link to another webpage
Dig tags are used to define different sections, they act as a container for different html units that can then be styled by further CSS
Images need to have a source path. To insert an image, use <img src=“Path/to/image”>
If you have all your images located in a specific folder, then you’d need to precise that in the path.
Example: if I’m coding a website and have all my images under website/images then whenever I want to insert an image, the html code will look like this:
<img src=images/“name-of-image.png”>
If I want the image to have a link, the <a></a>
tags must go around the <img>
tags.
Example:
<a href=www.Wikipedia.com/Paris> <img src=images/“TourEiffel.png”></a>