Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
23 views1 page

CSS Basic Tags

This document provides a quick guide to basic CSS tags used for styling web elements. It covers essential properties such as color, background-color, font-size, margin, padding, border, dimensions, display, and position. Each property is briefly defined to assist in understanding its function in CSS.

Uploaded by

sujisiva71
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views1 page

CSS Basic Tags

This document provides a quick guide to basic CSS tags used for styling web elements. It covers essential properties such as color, background-color, font-size, margin, padding, border, dimensions, display, and position. Each property is briefly defined to assist in understanding its function in CSS.

Uploaded by

sujisiva71
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

CSS Basic Tags – Quick Guide

1. color: Sets the text color of an element.

2. background-color: Defines the background color of an element.

3. font-size: Specifies the size of the text.

4. font-family: Sets the font style of text content.

5. margin: Adds space outside the element’s border.

6. padding: Adds space inside the element’s border.

7. border: Sets the border style, width, and color.

8. width/height: Defines dimensions of elements.

9. display: Controls layout type (e.g., block, flex).

10. position: Specifies element placement method (static, absolute, etc.).

You might also like