HTML Course Hindi - Beginner to Pro ( 2023 ) | Chapter 5
Image
<img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600">
To use images in html you need to use
<img>
tagin
src=”path/of/image”
attribute you need to provide path of image in case of image not loads. you need provide fallback text
alt=”image is broken”
you can also provide width and height on
<img>
tagAudio
using audio tag you can add audio in your website.
to provide path of your audio file you need to use
<source/>
tag.you can define audio format using
type=”audio/mp3”
attributeVideo
Just like audio tag it works same . you just need to provide video file rather than audio file..
Video tag has width and height property to adjust video frame size.
I Frame
If you want to embed website or video in your website you can use
Iframe Tag
HTML Course Hindi - Beginner to Pro ( 2023 ) | HTML COURSE FOR BEGINNERS | BASIC HTML COURSE WITH NOTES. NOTION NOTES - https://alkaline-olivine-4e5.notion.site/HTML-Course-Hindi-Beginner-to-Pro-2023-3b65cab8001e41d6a3af8ee2a7955b44 SOURCE CODE - https://github.com/anshuopinion/HTML-COURSE-2023 Linkedin - https://linkedin.com/in/anshuopinion Twiiter -https://twiiter.com/dosomecoding Telegram Channel - https://telegram.me/dosomecoding Github - https://github.com/anshuopinion