English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I keep seeing \n\t by the html tags of my php code on one of my sites? What are they there for?

2007-04-29 03:53:58 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

\n and \t are sort of shortcut tags usually found in C or C++ programs. PHP may have borrowed some of that, but it's NOT valid HTML code.

2007-04-29 04:48:52 · answer #1 · answered by Kasey C 7 · 0 0

\n is usually a line feed in any language
\t is usually a tab

These character codes can be interpreted by browsers and are usually used to just make the source HTML look nicer/be easier to read.

2007-04-29 11:00:47 · answer #2 · answered by an0n 1 2 · 0 0

to format the source to made it more readable

2007-04-29 11:05:21 · answer #3 · answered by M_M 2 · 0 0

fedest.com, questions and answers