When working with HTML
and its companion CSS
, it is important to...
Exploring HTML:
<html>
<head>
<link href="css/breakLineInBrowser.css" rel="stylesheet">
</head>
<body>
<p>
Line 1.
Line 2.
Line 3.
</p>
</body>
</html>
Diving into CSS -
p {
}
When rendered in the browser, the text appears as -
Line 1. Line 2. Line 3.
What specific CSS
property must be added within the p {}
rule to display it like this -
Line 1.
Line 2.
Line 3.
Any hints? (No solutions involving the use of </br>
tags in the HTML)