Chat with our AI personalities
You cannot insert a command into CSS, you can make styles that happen in HTML.
You don't actually insert an image into an HTML page. An HTML page can display an image from any location where the browser has access to the file. Let us assume that the image you want to display on your HTML page is image.jpg. You use the tag to tell the browser to display your image. The person looking at your HTML page needs to be able to access the file on your desktop. You normally would upload your image to the Web server, so the visiting browser can see your image. If the image is on your desktop and the browser has access to your desktop content, here is the code you would use to display your image on the Web page:
The code to insert an image beings with the <img> tag. If you want the user to enter the image, you have to apply image upload.
The last command in any HTML document is a closing HTML tag. Just before it is the closing BODY tag. </BODY> <HTML>
It looks less cluttered, in my opinion, and directories in web design are case sensitive. If you are looking for a pic in a folder called images and you direct it to Images, the picture won't display.