MARGIN-TOP Property In CSS

margin-top Property in CSS

margin-top property Declares the top margin for the element.

Possible Value:

Lengths, percentages, and the predefined value auto.

Example

div { margin-top:5px; } div { margin-top:15%; }

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad