echo <"hr/">;
and echo "\n";
and echo "\t";

Recommended Answers

All 4 Replies

You dont know about echo?

"echo" means output to the "screen" which could be the actual screen or to the web browswer.

echo <"hr/">; - is syntacticaly wrong and will produce errors. It should be echo "<hr/>"; which would output the HTML code for a horizontal rule (line across the page).
and echo "\n"; - outputs a newline (carriage return)
and echo "\t"; - outputs a tab

Member Avatar for rajarajan2017
echo "<hr/>"; // Horizontal ruler which you have in html
echo "\n"; //new line indentation
echo "\t";  //Tab line which you have in word.

echo -it is nothing but a syntax
echo-refers to output to the screen
echo "<hr/>";which prints the horizontal rules same as html
echo "\n";the cursor jumps to the next line
echo "\t";the tab is used to give space of 5 i.e(the cursor is moved 5 spaces apart)between any words entered in the echo part

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.