new changes

This commit is contained in:
Harilee
2023-10-30 14:00:03 +05:30
parent ce7bdeb3e9
commit 9031b176da
10 changed files with 284 additions and 45 deletions

View File

@@ -1,15 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="external.css" />
<link rel="stylesheet" href="external.css"/>
</head>
<body>
<h1>My First CSS Example</h1>
<p>This is a paragraph.</p>
<h1 class="center">Red and center-aligned heading</h1>
<p class="center">Red and center-aligned paragraph.</p>
<div class="center">
<h1 >Red and center-aligned heading</h1>
<p >Red and center-aligned paragraph.</p>
</div>
<p id="para1">Hello World!</p>
<p>This paragraph is not affected by the style.</p>
@@ -44,7 +47,7 @@
<!--Flex box horizontal-->
<div class="center_horizontal_flex_box">
<div class="center_vertical_flex_box">
<h1 style="color: blue;">This is a heading</h1>
<h1 style="color: blue; "">This is a heading</h1>