CSS Styling Techniques, Exams of Law

Various css styling techniques, including text alignment, color and background customization, and more. It covers how to center text, align it to the left or right, and use the 'justify' alignment to stretch text evenly across a container. The document also demonstrates how to set background colors and text colors for the body, headings, and divs. Additionally, it shows how to adjust font size and font family. This comprehensive guide provides a solid foundation for understanding and applying css styling to create visually appealing web pages.

Typology: Exams

2023/2024

Uploaded on 02/16/2024

jomarie-furio
jomarie-furio 🇵🇭

4 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
\
<!DOCTYPE html>
<html>
<head>
<style>
p{
color: red;
text-align: center;
}
</style>
</head>
<body>
<p> HELLO WORLD</p>
<p> This paragraph is styled with CSS</p>
</body>
</html>
FINAL CSS
TEXT ALIGN
<!doctype html>
<html>
<head>
<style>
h1{text-align: center;}
h2{text-align: left;}
h3{text-align: right;}
</style>
</head>
<body>
<h1> jomarieeeeeeee(center)</h1>
<h2> wally bayola(left)</h2>
<h3> kalbo (right)</h3>
<p> The three heading above are aligned center,left,right,</p>
</body>
</html>
pf3
pf4
pf5

Partial preview of the text

Download CSS Styling Techniques and more Exams Law in PDF only on Docsity!

\

HELLO WORLD

This paragraph is styled with CSS

FINAL CSS

TEXT ALIGN

jomarieeeeeeee(center) wally bayola(left) kalbo (right)

The three heading above are aligned center,left,right,

TEXT ALIGNMENT

JOMARIE

The text align justify value stretches the line so that each end has equal width (like in news paper and magazines)

Give me your hand make room for me to lead and follow you beyond this rage of poetry let others have the privacy of touching words

FINAL CSS

My first CSS Example

This is a paragraph

\