HTML line Break

When  we write a paragraph and we want to a line break but without starting a new paragraph then we use the <br/> element.


<p>your<br/>audi is <br/>invaluables</p>

HTML Line Break Element produces a line break in text. It is useful where the division of lines is significant like writing a poem or an address. Break Element  <br/>  is not use for increase the gap between lines of text.
Use <br/> if you want a line break (a new line) without starting a new paragraph:
The <br/> element is an empty HTML element. It has no end tag.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>line break</title>

<p>Half Care is Diabetes <br />
can lead to Complications.</p>


Result above html page

Half Care is Diabetes
can lead to Complications

No comments:

Post a Comment

PostgreSQL-Query: Sort result set by specific field values using ORDER BY Clause

Problem: Suppose we have a book_inventory table which has some columns such as id, isbn, title, author, publisher, publish_date, etc.. whe...