Computer >> 컴퓨터 >  >> 프로그램 작성 >> HTML

HTML에 미리 서식이 지정된 텍스트를 추가하는 방법은 무엇입니까?


<!DOCTYPE html>
<html>
   <head>
      <title>HTML pre Tag</title>
   </head>
   <body>
      <pre>
         This text is
         in a fixed-pitch
         font, and it preserves
         both spaces and line breaks
      </pre>
   </body>
</html>