Select Page

Tag: HTML

How to maintain aspect ration of YouTube videos with CSS

How to maintain aspect ration of YouTube videos with CSS

Hey, you can create responsive YouTube videos with the help of CSS only and maintain its aspect ratio without needing any third-party JavaScript library. The easiest and quickest way to do it is with the following CSS. HTML <div class=”container”>...

How to create HTML hidden templates in a page?

We can create an HTML hidden template using the following method that we can add anywhere in the page. After creating a template we can now use it, modify it, and append/prepend it’s html anywhere in the page. <script id=”imageTemplate”...
Why Learning HTML and CSS is Essential for Beginners?

Why Learning HTML and CSS is Essential for Beginners?

The internet has become a part of almost every aspect of our lives. It has brought many changes to make your website more attractive and delicate; these changes include text-based websites adding pictures and videos. But behind all websites and web applications, there...
How to style an anchor tag with no href attribute?

How to style an anchor tag with no href attribute?

style anchor tag with no href attribute In website development, we often come across anchors/link tags that do not have an ‘href’ attribute. This may be due to many reasons like the anchor is used just for a dropdown, or initiation of a modal, and does not...