@Balvir-255, you could use TextEdit...
Most professionals use other IDE's other than TextEdit.
Visual Studio Code (VS Code) is a very popular one.
You can add animations, images and videos all with CSS or HTML. As you get deeper into web development, you will use JavaScript.
HTML is the skeleton.
CSS is the muscle, skin, clothing, hair
JS is the brain.
Review this for all the tech related to each CS career path:
https://youtu.be/66tfvFeALBQ