I am currently working with CSS and HTML, trying to replicate the design shown in this image:
https://i.stack.imgur.com/Uyczp.png
Initially, I attempted to achieve this by using multiple h1 tags, but after researching further, I realized that it is generally not recommended.
h1
{
border : 0px none blue ;
width : 1000px ;
}
<!DOCTYPE HTML>
<html lang = "en">
<head>
<meta charset ="UTF-8">
<title>Headings!</title>
<style>
h1 {color : Red ; background : Blue ;}\
h1 {color : Orange}
h1 {color : Yellow}
h1 {color : Green}
h1 {color : blue}
h1 {color : purple}
</style>
<link rel ="stylesheet" href = "heading.css">
</head>
<body>
<h1>This is a heading using h1<h1>
<h1><p style="text-indent:300px;">This is a heading using h1<h1>
<h1><pre>This is a heading using h1</pre><h1>
<h1>This is a heading using h1<h1>
<h1>This is a heading using h1<h1>
<h1>This is a heading using h1<h1>
</body>
</html>
All my files are stored in the same folder, however, I must confess that I feel a bit lost at the moment.