텍스트 중 일부는 왼쪽에 정렬되고 일부는 오른쪽에 정렬되도록 텍스트를 정렬하려면 어떻게해야합니까?
<p>This text should be left-aligned. This text should be right aligned.</p>
직접 인라인으로 또는 스타일 시트를 사용하여 모든 텍스트를 왼쪽 (또는 오른쪽)으로 정렬 할 수 있습니다.
<p style='text-align: left'>This text should be left-aligned.
This text should be right aligned.</p>
해당 텍스트를 같은 줄에 유지하면서 왼쪽과 오른쪽으로 정렬하려면 어떻게해야합니까?
text-align:left;그것이 있어야float:left;<P>처럼 <스팬 스타일 = "플로트 : 왼쪽;"> 왼쪽 텍스트 </ SPAN> <스팬 스타일 = "플로트 : 오른쪽;"> 오른쪽 텍스트 </ SPAN> </ P>