function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RimaRima 

line break in Visualforce

Hi,

 

I have a very basic question on VF coding. I want to have two or three line breaks between two fields in Visualforce page. I tried writing <p></p> , but it did not give line break. How can I get line break in Visual force?  Thanks in advance.

Best Answer chosen by Admin (Salesforce Developers) 
RimaRima

I should give <br></br>. Silly mistake!!

All Answers

RimaRima

I should give <br></br>. Silly mistake!!

This was selected as the best answer
Alexis KasperaviciusAlexis Kasperavicius

With breaks, you can self close the tag. Example:

 

<br/>

 Saves some typing and is a little cleaner.

yawar khan 1yawar khan 1

i tried this <br></br> 

but it it is not working