In: Computer Science
CSS
Write a document wide style block (include the correct HTML tag) to set all <p> tags to be double spaced and justified (not ragged left / right text)
SOURCE CODE
<!DOCTYPE html>
<html>
<head>
<style>
p{ word-spacing: 40px;
text-align:justify;
}
</style>
</head>
<body>
<p>This is a paragraph.it to make a type specimen book. It
has survived not only five centuries, but also the leap
into electronic typesetting, remaining
essentially unchanged. It was
popularised in the 1960s with the release of
Letraset sheets containing
Lorem Ipsum passages, and more recently with desktop
</p>
</body>
</html>
OUTPUT SCREENSHOT
Here I am used word-spacing: 40px; for extra white space and text-align:justify; to justify the lines.
please give an upvote