search

Home  >  Q&A  >  body text

I still don’t quite understand what pre means.

I still don’t understand the meaning of pre

ShInIcNIShInIcNI2521 days ago1733

reply all(3)I'll reply

  • 超

    2018-06-01 17:10:30

    In fact, to put it simply, it is the same as printing. Those words will occupy the position if printed, but those spaces will be regarded as unsigned, and there will still be data occupying the position, but the data will not be displayed. There is actually a lot of difference between the code with spaces and without spaces, so pay more attention

    reply
    0
  • 杨林@新媒体人

    杨林@新媒体人2018-04-20 21:20:46

    Output as is

    reply
    0
  • 灭绝师太

    灭绝师太2018-04-19 09:40:41

    The pre element defines preformatted text; text enclosed in a pre element typically preserves spaces and newlines. Just type it in the editor and you will know

    reply
    3
  • Cancelreply