AmberCutie's Forum
An adult community for cam models and members to discuss all the things!

HTML help

  • ** WARNING - ACF CONTAINS ADULT CONTENT **
    Only persons aged 18 or over may read or post to the forums, without regard to whether an adult actually owns the registration or parental/guardian permission. AmberCutie's Forum (ACF) is for use by adults only and contains adult content. By continuing to use this site you are confirming that you are at least 18 years of age.
Status
Not open for further replies.

JheartsComix

I haven't posted recently, hopefully will be back soon!
Inactive Cam Model
Aug 12, 2013
17
15
16
can anyone please give me a hand with my profiles html? iv very new to it (html), and while i thought i had it figured out, it seems that the block of text ("I accept amazon gift cards to be used towards items from my wishlist. If you decide you'd like to get me a gift card you can tell me what I should use it for from the wishlist. Maybe that item will appear in a camshow !") will become part of the link in the block of html it is below.

<a href='https://twitter.com/jheartscomix' target='_blank'><img src='http://e.mfcimg.com/photos2/147/14712882/945-971-965-645-5242216.jpg'</a >
<br/ >
<br/ >
I accept amazon gift cards to be used towards items from my wishlist. If you decide you'd like to get me a gift card you can tell me what I should use it for from the wishlist. Maybe that item will appear in a camshow !<br/ >
<a href='http://www.amazon.ca/gp/registry/wishlist/ref=gno_listpop_wi' target='_blank'><img src='http://b.mfcimg.com/photos2/147/14712882/304-581-615-838-5242153.jpg'</a >

i just want that block of text to be normal text, but currently it is showing up as a link to my twitter. and if i put it under the amazon html block, it becomes a link to the amazon wishlist. iv purposely broken some of the html code at the ends so it will show up here.

i dont understand
 
JheartsComix said:
can anyone please give me a hand with my profiles html? iv very new to it (html), and while i thought i had it figured out, it seems that the block of text ("I accept amazon gift cards to be used towards items from my wishlist. If you decide you'd like to get me a gift card you can tell me what I should use it for from the wishlist. Maybe that item will appear in a camshow !") will become part of the link in the block of html it is below.

<a href='https://twitter.com/jheartscomix' target='_blank'><img src='http://e.mfcimg.com/photos2/147/14712882/945-971-965-645-5242216.jpg'</a >
<br/ >
<br/ >
I accept amazon gift cards to be used towards items from my wishlist. If you decide you'd like to get me a gift card you can tell me what I should use it for from the wishlist. Maybe that item will appear in a camshow !<br/ >
<a href='http://www.amazon.ca/gp/registry/wishlist/ref=gno_listpop_wi' target='_blank'><img src='http://b.mfcimg.com/photos2/147/14712882/304-581-615-838-5242153.jpg'</a >

i just want that block of text to be normal text, but currently it is showing up as a link to my twitter. and if i put it under the amazon html block, it becomes a link to the amazon wishlist. iv purposely broken some of the html code at the ends so it will show up here.

i dont understand
You're not closing your IMG tags. Add "/>" at the end of your SRC attributes like below.

Code:
<a href='https://twitter.com/jheartscomix' target='_blank'><img src='http://e.mfcimg.com/photos2/147/14712882/945-971-965-645-5242216.jpg' /></a >
<br/ >
<br/ >
I accept amazon gift cards to be used towards items from my wishlist.  If you decide you'd like to get me a gift card you can tell me what I should use it for from the wishlist.  Maybe that item will appear in a camshow !<br/ >
<a href='http://www.amazon.ca/gp/registry/wishlist/ref=gno_listpop_wi' target='_blank'><img src='http://b.mfcimg.com/photos2/147/14712882/304-581-615-838-5242153.jpg' /></a >
 
  • Like
Reactions: JheartsComix
small tip: when you're doing the long tags where you'll need to insert things like that, do it like this:

First write

<a href=""></a>

Then add

<a href=""><img src=""></img></a>

Then add

<a href="URL"><img src="URL"></img></a>

That way, you know you have your tags nested properly and closed properly before you add all the other stuff in there. (nesting is when you do something like <b><u></u></b>) My HTML teacher said "to make sure you don't make mistakes, as soon as you open the tag, close the tag. No matter how good you think you are at it, this will help." And yes, when I don't do this, I'll forget to close some tag somewhere. On MFC, that means all my code just disappears (luckily, I keep it in a text file on my flash drive.)
 
LadyLuna said:
small tip: when you're doing the long tags where you'll need to insert things like that, do it like this:

First write

<a href=""></a>

Then add

<a href=""><img src=""></img></a>

Then add

<a href="URL"><img src="URL"></img></a>

That way, you know you have your tags nested properly and closed properly before you add all the other stuff in there. (nesting is when you do something like <b><u></u></b>) My HTML teacher said "to make sure you don't make mistakes, as soon as you open the tag, close the tag. No matter how good you think you are at it, this will help." And yes, when I don't do this, I'll forget to close some tag somewhere. On MFC, that means all my code just disappears (luckily, I keep it in a text file on my flash drive.)
An IMG tag never has child elements. You should always use "<img ... />" (a self closing tag). Most browsers will also let you get away with "<img ... >" with no closing slash, but either ">" or "/>" are always required.

Mozilla Developer Network has probably the best documentation I've seen on various web related things. I use it when I have a question about HTML or Javascript.
 
thanks so much guys ! I sincerely appreciate the help :P
 
LadyLuna said:
small tip: when you're doing the long tags where you'll need to insert things like that, do it like this:

First write

<a href=""></a>

Then add

<a href=""><img src=""></img></a>

Then add

<a href="URL"><img src="URL"></img></a>

That way, you know you have your tags nested properly and closed properly before you add all the other stuff in there. (nesting is when you do something like <b><u></u></b>) My HTML teacher said "to make sure you don't make mistakes, as soon as you open the tag, close the tag. No matter how good you think you are at it, this will help." And yes, when I don't do this, I'll forget to close some tag somewhere. On MFC, that means all my code just disappears (luckily, I keep it in a text file on my flash drive.)

</img> is definitely not needed at all. the <img> tag doesn't contain anything other than the image you specify
 
Kradek said:
LadyLuna said:
small tip: when you're doing the long tags where you'll need to insert things like that, do it like this:

First write

<a href=""></a>

Then add

<a href=""><img src=""></img></a>

Then add

<a href="URL"><img src="URL"></img></a>

That way, you know you have your tags nested properly and closed properly before you add all the other stuff in there. (nesting is when you do something like <b><u></u></b>) My HTML teacher said "to make sure you don't make mistakes, as soon as you open the tag, close the tag. No matter how good you think you are at it, this will help." And yes, when I don't do this, I'll forget to close some tag somewhere. On MFC, that means all my code just disappears (luckily, I keep it in a text file on my flash drive.)
An IMG tag never has child elements. You should always use "<img ... />" (a self closing tag). Most browsers will also let you get away with "<img ... >" with no closing slash, but either ">" or "/>" are always required.

Mozilla Developer Network has probably the best documentation I've seen on various web related things. I use it when I have a question about HTML or Javascript.

i know some better places to learn HTML/JavaScript/CSS and a bunch of other stuff and some of them even have a way to test out whatever you type on their web page

Microsoft Word and some other text editing programs can also be used to give you a colorful look at HTML code you are typing. often the color-coded text will show you where you are missing a ">" and other errors you might have missed.
 
Status
Not open for further replies.