Free AdviceGet Free Advice
Home | Get advice | Give advice | Topics | Columnists | - !START HERE! -
Make Suggestions | Sitemap

Get Advice


Search Questions

Ask A Question

Browse Advice Columnists

Search Advice Columnists

Chat Room

Give Advice

View Questions
Search Questions
Advice Topics

Login

Username:
Password:
Remember me
Register for free!
Lost Password?

Want to give Advice?

Sign Up Now
(It's FREE!)

Miscellaneous

Shirts and Stuff
Page Backgrounds
Make Suggestions
Site News
Link To Us
About Us
Terms of Service
Help/FAQ
Sitemap
Contact Us


HTML CODES!


Question Posted Wednesday November 29 2006, 4:17 pm

you if you go to a myspace layouts site and or any normal "glitter-textmaker" site you see they write down the htmls.I'd like to put a html code in a box so others can copy and paste it.
I want do this so people can have nice layouts from me.How do I put the html "in a box"
(without the html coming true on MY site, if you understand cant word it!)


[ Answer this question ]
Want to answer more questions in the Technology category?
Maybe give some free advice about: Computers?


theymos answered Wednesday November 29 2006, 6:22 pm:
Instead of < and > write &#60; and &#62; , respectively so to show the basic layout of html, you'd go:

&#60;html&#62;
&#60;head&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;/body&#62;
&#60;/html&#62;

To put it in a box you can put it in <div> tags, like this(change background-color for box color and color for text color):

<div style="background color:#000000; color:#FFFFFF">
&#60;html&#62;
&#60;head&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;/body&#62;
&#60;/html&#62;
</div>

or in a form, like this(cols and rows change size):

<form><textarea readonly="readonly" cols=50 rows=20>
&#60;html&#62;
&#60;head&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;/body&#62;
&#60;/html&#62;
</textarea></form>

or with tables, like this:
<table width=300 hight=300 style="background-color:#000000; color:#FFFFFF"><tr><td>
&#60;html&#62;
&#60;head&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;/body&#62;
&#60;/html&#62;
</td></tr></table>

I really enjoy questions like this, so if you need any more help with your site, please ask me.

[ theymos's advice column | Ask theymos A Question
]


More Questions:

<<< Previous Question: kid book??
Next Question >>> gifts

Recent popular questions:
Want to give advice?

Click here to start your own advice column!

What happened here with my gamer friends?

All content on this page posted by members of advicenators.com is the responsibility those individual members. Other content © 2003-2014 advicenators.com. We do not promise accuracy, completeness, or usefulness of any advice and are not responsible for content.

Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content.
Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.

[Valid RSS] eXTReMe Tracker