Pages: 123

  2008-05-01 04:44:36

eehjhay
» FTalkWhiz
FTalk Level: zero
2692
0
1969-12-31

:exclaim:[b]@Moderators[/b] [quote]If this is already shared by anyone. Please delete this thread! Or, if I'd posted this in the wrong section. Please just move this.[/quote] [hr] Hey guys! Just want

LOL! Please go to an HTML tutorial site and almost all of those have this kind. First I will explain the codes. [quote]<[color=red]a[/color] [i]href="[u]#navigation[/u]"[/i]><[color=blue]img[/color] [color=green]src="[b]URL[/b]"[/color] /></[color=red]a[/color]>[/quote] Anchor tag <[color=red]a[/color]></[color=red]a[/color]> This is used to create a link. It should always have a closed tag of </a> Hypertext REFerence[i]href="[u]#navigation[/u]"[/i] An element's attribute used to determine the location the browse will display if the link has been clicked. You can either use URL of a page [b]and/or[/b] ID of a page. ID of an element [u]#navigation[/u] If you view the source code of a Friendster profile, you can see the id="navigation" You can manipulate that element using css and its id. You can also use this so whenever you click a link that has its id, the browser will scroll or display where that element is located. For example if you have two links: <">And have two elements: [quote][b]<!-- at the very top of your page -->[/b] <div id="bottom">[i]some texts[/i]</div> [b]<!-- at the very bottom of your page -->[/b] <div id="top">[i]some texts[/i]</div>[/quote] You notice that I put the div elements at its different places? So if I click [i]<a href="#bottom">DOWN</a>[/i] then it should direct me on the top part of my page instead of the bottom part. Same apply for the other link. Image tag <[color=blue]img[/color] [color=green]src="[b]URL[/b]"[/color] /> It is used to display an image onto a page. It is better to close the tag with one space and a / before the > Source [color=green]src="[b]URL[/b]"[/color] An element's attribute which is used to locate where the image has been stored and to be used to display it to a webpage. -- I hope this is clear to you that he did not created that code. By the way, the simplest way to get to the top of a webpage is press the [b]HOME[/b] button from your keyboard. Same apply for the [b]END[/b] button to bring you to the bottom part of a webpage.

Last edited by eehjhay (2008-05-01 04:45:13)

Pages: 123

Board footer

© 2024 F Talk

Current time is 08:18

[ 12 queries - 0.016 second ]
Privacy Policy