-
Help With Html Needed
ight so i took mike and smartfools advice and went 2 the online school and ive actually learned how 2 write basic things with html
my problem is that i made a perfectly good qwhore code with dropboxes and piture link 2 my myspace and it all worked on w*schools but when i posted it in a bulliten on myspace the pic didnt show up and the color codes didnt work...
why is this happenng when myspace is basically all html xhtml xml and ccs codes???
if anyone can help lemme kno and i saved the code so i can show u it if needed
-
Err, can you post your code?
BTW, Vbulletin uses BBcode, not HTML.
-
moonbat
yea heres the code
<html>
<body>
<p style="color:red"<I><b>ADD WILL</p>
<a href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=4*5577*0&MyToken=b6bc6845-ec66-425a-*62d-da62**566*7*">
<img border="0" src="newhure*.jpg" width="*00" height="*50">
</a>
<br>
<p style="color:red"<i><B>CLICK PICTURE TO ADD</p>
<P style="color:blue"<i><b> REASONS TO ADD</P>
<form action="">
<select name="reasons to add">
<option value="hes funny"> hes funny</option>
<option value="hes random">hes random</option>
<option value="hes just awesome yo">hes just awesome yo</option>
<option value="he will W4W"> he will W4W</option>
<option value=" he will PC4PC"> he will PC4PC</option>
<option value=" he knows how to use HTML,XHTML,XML,AND CCS CODES"> he knows how to use HTML,XHTML,XML,AND CCS CODES</option>
<br>
</select>
</form>
<p style="color:blue"<i><b> REASONS NOT TO ADD</p>
<form action="">
<select name="reasons not to add">
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
</select>
</form>
<p style="color:red" <i><b> ****** TO WILL FOR MAKING THIS FOR HIMSELF </P>
</body>
</html>
and does myspace use vbulletin??
-
drumgodmaggott
Took a look at it for a couple seconds and a few red flags went up.
[b]*. You forgot to close all of your paragraph, bold, and italic tags <p><b><i>. You open them, but forgot to close them:[/b]
YOUR CODE
[html]
<p style="color:red"<I><b>ADD WILL</p>
[/html]
CORRECTED CODE
[html]
<p style="color:red"><I><b>ADD WILL</b></i></p>
[/html]
MY VERSION USING ONLY STYLE ATTRIBUTE
[html]
<p style="color:#FF0000; font-style:italic; font-weight:bold;">ADD WILL</p>
[/html]
[b]2. Your forms action and method are left blank. You need to specify both. The action should be the page you want to submit the data to. Ex: index.php[/b]
YOUR CODE
[html]
<form action="">
[/html]
CORRECTED CODE
[html]
<form action="index.php" method="get">
[/html]
You can use "get" or "post" methods when creating a form. Not a really big difference except "get" variables are visible in the url and post variables are not. I think "get" has a smaller limit of bytes that can be transfered through the url than the "post" method.
[b]*. Your image is not showing up because the path to it changes as soon as you move the html to myspace.com.[/b] It works fine on your local machine because you have the image newhure.jpg sitting in the same folder as the html file you created. If you move that image anywhere else, it will not show up. You can easily change to code to reflect this:
YOUR CODE
[html]
<img border="0" src="newhure*.jpg" width="*00" height="*50">
[/html]
CORRECTED CODE
[html]
<img border="0" src="http://www.myspace.com/where/ever/your/file/is/located/newhure*.jpg" width="*00" height="*50">
[/html]
This should help you get started.
SyntaX
-
Relative and absolute paths -- can be hard to grasp in the early stages of learning.
Syntax pretty much said it all, so what he said.
-
drumgodmaggot, if you're just learning the ins and outs of HTML, I wouldn't s***est doing forms, least for now. In order to forms to have any useful purpose, you need to learn another language known as PHP, which, if you haven't learned HTML really well, will be a huge challenge.
Try to learn a good bit more about HTML (tables, titles, etc.) then come back to forms.
-
oooo ok i knew something was weird about the bold and italics thknx i forgot 2 close them...
i looked at php and it was like crazy hard 2 understand
i hope 2 learn all the languages eventually
i tyhought that a whore code for myspace wouldnt be that hard but i guess i was wrong
so would this revised code work??
<html>
<body>
<p style="color:red"<I><b>ADD WILL</i></b></p>
<a href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=4*5577*0&MyToken=b6bc6845-ec66-425a-*62d-da62**566*7*">
<img border="0" src="http://viewmorepics.myspace.com/index.cfm?fuseaction=viewImage&friendID=4*5577*0&albumID=*0*6*04&imageID=*5*27722" width="*00" height="*50">
</a>
<br>
<p style="color:red"<i><B>CLICK PICTURE TO ADD</i></b></p>
<P style="color:blue"<i><b> REASONS TO ADD</i></b></P>
<form action="index.php" method="get">
<select name="reasons to add">
<option value="hes funny"> hes funny</option>
<option value="hes random">hes random</option>
<option value="hes just awesome yo">hes just awesome yo</option>
<option value="he will W4W"> he will W4W</option>
<option value=" he will PC4PC"> he will PC4PC</option>
<option value=" he knows how to use HTML,XHTML,XML,AND CCS CODES"> he knows how to use HTML,XHTML,XML,AND CCS CODES</option>
<br>
</select>
</form>
<p style="color:blue"<i><b> REASONS NOT TO ADD</i></b></p>
<form action="index.php" method="get">
<select name="reasons not to add">
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
<option value="there isnt any reaon not to add">there isnt any reason not to add</option>
</select>
</form>
<p style="color:red" <i><b> ****** TO WILL FOR MAKING THIS FOR HIMSELF </i></b></P>
</body>
</html>
-
:cool:
Close. You did not open your paragraph tag correctly!
THIS IS WRONG
[html]
<p style="color:blue"
[/html]
THIS IS RIGHT
[html]
<p style="color:blue">
[/html]
I know this is probably over your head at this point and might be meaningless but never put spaces in the names or values of form elements. Example:
[html]
<select name="reasons to add">
[/html]
This will make the url very messy because a space will turn into &#*7;20 in the url. This represents the hexadecimal value. Use "friendly" names such as this:
[html]
<select name="reasons_to_add">
[/html]
When you do learn php you will simply grab the variable name in the file index.php
[php]
if(isset($_GET['reasons_to_add'])){ DO THIS }else{ DO THIS }
[/php]
-
everyone who helped
ok i changed it and also put the underscore instead of spaces ima go try it out
thknx a lot
-
[QUOTE=SyntaX******;2*426]:cool:
Close. You did not open your paragraph tag correctly!
THIS IS WRONG
[html]
<p style="color:blue"
[/html]
THIS IS RIGHT
[html]
<p style="color:blue">
[/html][/QUOTE]
The style attribute should have a semicolon after each statement as well, i.e. "color: blue;".
[QUOTE]I know this is probably over your head at this point and might be meaningless but never put spaces in the names or values of form elements. Example:
[html]
<select name="reasons to add">
[/html]
This will make the url very messy because a space will turn into %20 in the url. This represents the hexadecimal value. Use "friendly" names such as this:
[html]
<select name="reasons_to_add">
[/html]
When you do learn php you will simply grab the variable name in the file index.php
[php]
if(isset($_GET['reasons_to_add'])){ DO THIS }else{ DO THIS }
[/php][/QUOTE]
If he used POST it wouldn't be such a problem, but this is good practise anyway.
-
mike
whut do u mean by post??
did u mean using post as your method instead of using get??
-
[QUOTE=drumgodmaggott;2*45*]whut do u mean by post??
did u mean using post as your method instead of using get??[/QUOTE]
Yeah.
R*;R*;R*;R*;R*;R*;R*;
-
mike
i replaced it and ive made all the changes that were needen but it still wont post in myspaces bullitens
i can put it on my page and everything will work except the color and pic but thats still gay lol
maybe i shud just start simple and work my way up 2 whore codes
-
[QUOTE=drumgodmaggott;2*46*]maybe i shud just start simple and work my way up 2 whore codes[/QUOTE]
Whore codes?
o_O
I knew Myspace was bad, but lowering itself to the level of prostitution...
-
mike
a they call it whore codes and whore trains because they get u a lot of frends by posting them.. almost like how a whore has a lot of ********s whorecodes get you a lot of frends on myspace
but yea apperentley myspace wont allow my drop boxes so i took them out...
the only problem i am finding now is that it will italicize and bold words but it wont change the font color its just left black