e a program in HTML to display Text in arial font and of size 12
Write a program in HTML to display a paragraph in red color in size 4 but its
first letter should be of size 7.
Write a program in HTML to display a text in BOLD ITALC and UNDERLINE
Answers
Answer:
sorry sir
Explanation:
sir muje point earn krne hain
Here's the HTML code to display text in the Arial font and size 12:
<!DOCTYPE html>
<html>
<head>
<title>Arial Font and Size 12</title>
<style>
body {
font-family: Arial, sans-serif;
font-size: 12px;
}
</style>
</head>
<body>
<p>This text is in Arial font and size 12.</p>
</body>
</html>
Here's the HTML code to display a paragraph in red color, size 4 with the first letter of size 7:
<!DOCTYPE html>
<html>
<head>
<title>Red Color Paragraph</title>
<style>
body {
font-family: Arial, sans-serif;
font-size: 12px;
}
.red-para {
color: red;
font-size: 4px;
line-height: 1.2; /* adjust line height to align larger first letter */
}
.red-para:first-letter {
font-size: 7px;
font-weight: bold; /* ensure first letter is bold */
}
</style>
</head>
<body>
<p class="red-para">T<span>his is a paragraph in red color, size 4 with the first letter of size 7.</span></p>
</body>
</html>
Here's the HTML code to display text in bold, italic, and underlined:
<!DOCTYPE html>
<html>
<head>
<title>Bold Italic Underline Text</title>
<style>
body {
font-family: Arial, sans-serif;
font-size: 12px;
}
.bold-italic-underline {
font-weight: bold;
font-style: italic;
text-decoration: underline;
}
</style>
</head>
<body>
<p class="bold-italic-underline">This text is in bold, italic, and underlined.</p>
</body>
</html>
For more reference visit,
https://brainly.in/question/18558958?referrer=searchResults
https://brainly.in/question/41321463?referrer=searchResults
#SPJ6