Take a look at the line-height property of CSS.
Example:
p { line-height: 90%; }
-------------------If you no want to use css, try of this code. when you use style with
HTML 파일의 자바 스크립트 프로그래밍은 CSS 파일 내부의 동일한 클래스 대신 Html 파일의 주문을 선호합니다.
<p style="line-height: 2.7">
Some text here<br />
Some other text<br />
Some other text
</p>
<p style="margin-top: 3.5em">
Some text here<br />
Some other text<br />
Some other text
</p>
<p style="line-height: 0.6; margin-top: 7.0em">
Some text here<br />
Some other text<br />
Some other text
</p>
스 니펫 확장
내 답변이 귀하의 질문에 도움이 되었기를 바랍니다.
친애하는,
Wahab
-------------------line-height
속성 을 사용해야합니다 .
p {line-height:70px}
-------------------나는 br 태그가 줄 바꿈을위한 것이라고 생각합니다. 해결 방법이 비슷한 코드를 작성하는 이유. 제안 된 답변으로 갈 수 없다면 여러 br 태그를 사용하십시오.
출처
https://stackoverflow.com/questions/7415104