how the html code was placed
hi friends,
when we open the site like friends18.com we find some html code for some images but any one khow how the html code was placed there is they are in image form.
.
or there is any html code for creating thats like box in which html is placed.
.
😁
when we open the site like friends18.com we find some html code for some images but any one khow how the html code was placed there is they are in image form.
.
or there is any html code for creating thats like box in which html is placed.
.
😁
Replies
-
gaurav.bhorkarI guess its just preformatted text enclosed in
......
or in.......
tags. -
Morningdot Hablu
isn,t working gaurav it will display the picture for which i writen the html code.gaurav.bhorkarI guess its just preformatted text enclosed in......
or in.......
tags.
.
i just want to display the html code like displayed in friends18.com like sites.
😁 -
gaurav.bhorkarWops...not working.
Thetag is only for computer code (like C++).
As a workaround you can use < for < and > for > signs. But I guess, that wont solve your problem.
Any CEan to address this issue? -
gaurav.bhorkarUPDATE:
I checked the source of the friends18.com site and found out that they also have used < and > for < and > respectively.
So, I guess, this is the only solution for your problem.
One more suggestion from me, also wrap your code intag so that the indention is also preserved.
-
Manish Goyalyes gaurav is right you can use < and & gt;
For more knowledge you can refer this site
W3Schools Online Web Tutorials -
Morningdot Hablu
thanks gaurav,gaurav.bhorkarUPDATE:
I checked the source of the friends18.com site and found out that they also have used < and > for < and > respectively.
So, I guess, this is the only solution for your problem.
One more suggestion from me, also wrap your code intag so that the indention is also preserved.
finally i will got the solution in simple way i thinkinsert code here that will do this but it will print my code in just one line can u help me to print my code in many different lines.
😁 -
gaurav.bhorkar
Well,mohit007kumar00thanks gaurav,
finally i will got the solution in simple way i thinkinsert code here that will do this but it will print my code in just one line can u help me to print my code in many different lines.tag is deprecated, I'd suggest not to use it.
I found one solution to your problem. Use the -
Manish GoyalCheck this also
How Html COde placed < html >
< head >
< title >
How Html COde placed
< /title >
< /head >