MyTetra Share
Делитесь знаниями!
 - Preserve Formatting
Время создания: 01.10.2017 10:54
Раздел: HTML
Запись: xintrea/mytetra_db_mcold/master/base/1506844445kqx1g65xkz/text.html на

Sometimes, you want your text to follow the exact format of how it is written in the HTML document. In these cases, you can use the preformatted tag <pre>.

Any text between the opening <pre> tag and the closing </pre> tag will preserve the formatting of the source document.


<!DOCTYPE html>

      <title>Preserve Formatting Example</title>
         function testFunction( strText ){
            alert (strText)
Так же в этом разделе: