0
I am absolutely new and have just started learning html. Can anybody help me in understanding about attatching images?
Anyone who could contact me through social media . i am active on facebook, whatsapp, Or leave a comment
1 Answer
+ 4
Using HTML tag like:
<img src="url_of_your_image" alt="text_in_case_the_image_doesnt_appear"/>
or using CSS:
<div id="myblock"></div>
#myblock
{
width: 300px;
height: 300px;
background: url("URL_or_PATH_TO_IMAGE");
}