Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Usage of margin-top property with CSS
The margin-top specifies the top margin of an element. It can have a value in length, % or auto.
Example
You can try to run the following code to set the top margin
This is a paragraph with a specified top margin
This is another paragraph with a specified top margin in percent
Advertisements
