HTML CSS IMAGES LINKS | |||||
HTML → Line breaks and paragraphs Line Breaks To add a line break, we use the <br> tag. This is a separator tag; it does not have a closing tag.
<head> <title>HTML Construction</title> </head> <body> Hello<br> Everyone </body> </html> Multiple Line Breaks You may code two or more consecutive <br> tags in order to achieve a line spacing greater than a single break.
<head> <title>HTML Construction</title> </head> <body> Hello <br> <br> <br> Everyone </body> </html> The Paragraph Tag
A <p> tag will generate a paragraph break. The paragraph tag is also a container tag. You will close each paragraph with the matching </p> tag.
<head> <title>HTML Construction</title> </head> <body> <p>The coral reef, which is one of Australia's main tourist attractions with its magnificent array of tropical fish, is under threat from record high temperatures, over-fishing and pollution. </p> <p>Australia's environment minister David Kemp said the government plan would increase so-called green zones, where commercial and recreational fishing is banned, from 5 percent of the 2,000 kilometer (1,200-mile) reef to over 30 percent, prompting instant protests from fishermen. </p> </body></html> |
|||||
back ↑ |