Insert CSS to html in 4 ways: external CSS file using a LINK tag, using STYLE, IMPORT in the style tag, INLINE as a style attribute in the HTML tag.
In this simple tutorial, we are going to learn how to add watermarks in different ways through HTML and CSS. Suppose you want to show your logo as a watermark in the background of your website or you want to display a specific text watermark in the header or footer of your website. You can […]
The error “Expected RBRACE” generally occurred if the right brace “}” is missing from our CSS code. Sometimes when we style an element, we forget to close the right brace. As a result, we will get an error i.e. “expected rbrace at line no“. What does expected rbrace mean? Whenever we style an element, we need […]
There are multiple ways we can change <p> elements bold. For example by using inline CSS like <p style="font-weight:bold">. But if we want to make all <p> element in a webpage bold then we can use the below CSS code- The above CSS code will make all <p> elements bold. So we don’t have to […]
If you are viewing this post, I think you have faced some problem inserting a text next to a picture. So there are lots of scenarios where you want your text left or right of a picture. So In this short article, I will explain how to do this. How to put text beside a […]
We know there are two terms i.e. initial and inherit in CSS. But many of us don’t know how to use it properly in CSS. So in this tutorial, I am trying to explain where we can use initial and inherit. What is inherit in CSS? Basically, inherit keyword take property from its parent. So […]