ElaKiri Community
Downloads
Go Back   ElaKiri Community > Computers & Internet > Web Development
Reload this Page HTML help
Reply
 
Thread Tools Display Modes
(#1)
Old
Snow Boy's Avatar
Snow Boy Snow Boy is offline
Senior Member
Snow Boy will become famous soon enough
 
Posts: 2,615
Join Date: Aug 2006
Location: ජිනා Madam's brothel
! HTML help - 06-27-2007, 12:05 PM

<form action="form_action.asp"
method="get">

First name:
<input type="text" name="fname" value="Mickey" />
<br />
Last name:
<input type="text" name="lname" value="Mouse" />
<br />
<input type="submit" value="Submit" />



HI,
I'm new to html. Please someone tell me why there is an extra / in the above code before the closing tag of input and br tag.

Thanx in advance
Reply With Quote
(#2)
Old
x-pert's Avatar
x-pert x-pert is offline
Senior Member
x-pert has a spectacular aura aboutx-pert has a spectacular aura aboutx-pert has a spectacular aura aboutx-pert has a spectacular aura about
 
Posts: 21,045
Blog Entries: 1
Join Date: Jun 2006
Location: with my BaByGirL...
06-27-2007, 01:30 PM

Hi Welcome to ElaKiri machang...

Usually HTML has open and close tags like :
<open>
</close>

But you can use open and close both in the same line. (In line open and close)
Thats the meaning of doing / >

By that you close the tag in the same line...
Ex :
You replace

<input type="text" name="fname" value="Mickey" >
</input>

by

<input type="text" name="fname" value="Mickey" />

(You dont have to type </input> again. Thats the advantage)



<br /> acts like a keyboard enter (new line character)
So by using < br/> you force the curser to move to the next line (next row)

Hope you are satisfied by the answer..
Feel free to post more problems..

Its a pleasure to help someone bro...

Keep posting and I beleive you will enjoy your stay with us... with the biggest On-line community in Sri Lanka...!!!

Last edited by x-pert; 06-28-2007 at 06:14 AM.
Reply With Quote
(#3)
Old
Snow Boy's Avatar
Snow Boy Snow Boy is offline
Senior Member
Snow Boy will become famous soon enough
 
Posts: 2,615
Join Date: Aug 2006
Location: ජිනා Madam's brothel
06-27-2007, 02:36 PM

Thanks bro.... I'm experimenting PHP not ASP..... Anyway I got the answer......I think it's the same case with PHP ?........

I'll back with more errors soon.......... )
Reply With Quote
(#4)
Old
x-pert's Avatar
x-pert x-pert is offline
Senior Member
x-pert has a spectacular aura aboutx-pert has a spectacular aura aboutx-pert has a spectacular aura aboutx-pert has a spectacular aura about
 
Posts: 21,045
Blog Entries: 1
Join Date: Jun 2006
Location: with my BaByGirL...
06-27-2007, 06:44 PM

Quote:
Originally Posted by Snow Boy
Thanks bro.... I'm experimenting PHP not ASP..... Anyway I got the answer......I think it's the same case with PHP ?........

I'll back with more errors soon.......... )

Ithin bung php using num mokatada asp page ekakata submit kalla thiyanne...


Anyway these syntaxes are in xhtml. So you can use it in many ways.

Anyway... you got the answer ne...

Last edited by x-pert; 06-28-2007 at 06:15 AM.
Reply With Quote
(#5)
Old
rapa's Avatar
rapa rapa is offline
Senior Member
rapa will become famous soon enough
 
Posts: 17,161
Blog Entries: 3
Join Date: May 2006
Location: සසර ගමන තුළ
Send a message via MSN to rapa
06-27-2007, 07:13 PM

this is not ASP or PHP thing
it is stand for XHTML
when your open some tag you must close it
but input, br, hr ... hasen't close tag.
that dependency most on Netscape browser
Reply With Quote
(#6)
Old
shanX's Avatar
shanX shanX is offline
Senior Member
shanX is on a distinguished road
 
Posts: 9,983
Join Date: Oct 2006
Location: Kandy, LK
Send a message via MSN to shanX Send a message via Yahoo to shanX
06-27-2007, 10:13 PM

Quote:
Originally Posted by rapa
this is not ASP or PHP thing
it is stand for XHTML
when your open some tag you must close it
but input, br, hr ... hasen't close tag.
that dependency most on Netscape browser
Hah hah

Yeah bro, it got nothing to do with ASP, PHP ...etc

Its XHTML. In HTML, for some tags such as IMG, BR, INPUT ...etc (eg:<img src="image_address">), a closing tag (eg:</img>) is optional, but not required. In XHTML, these tags have to be coded with a slash, without using a closing tag (eg: <img src="image_address" />).

Anyway, welcome bro
Reply With Quote
(#7)
Old
x-pert's Avatar
x-pert x-pert is offline
Senior Member
x-pert has a spectacular aura aboutx-pert has a spectacular aura aboutx-pert has a spectacular aura aboutx-pert has a spectacular aura about
 
Posts: 21,045
Blog Entries: 1
Join Date: Jun 2006
Location: with my BaByGirL...
06-28-2007, 06:16 AM

True True..

Its XHTML thamai...
Reply With Quote
(#8)
Old
Snow Boy's Avatar
Snow Boy Snow Boy is offline
Senior Member
Snow Boy will become famous soon enough
 
Posts: 2,615
Join Date: Aug 2006
Location: ජිනා Madam's brothel
07-16-2007, 04:04 PM

OK. OK. Matath pataluna............... X or nikan HTML thamai.........
Reply With Quote
(#9)
Old
rapa's Avatar
rapa rapa is offline
Senior Member
rapa will become famous soon enough
 
Posts: 17,161
Blog Entries: 3
Join Date: May 2006
Location: සසර ගමන තුළ
Send a message via MSN to rapa
07-16-2007, 04:59 PM

Quote:
Originally Posted by Snow Boy
OK. OK. Matath pataluna............... X or nikan HTML thamai.........
scripting language ekakth igena ganna nethnam issarahata wedak ne
Reply With Quote
(#10)
Old
shanX's Avatar
shanX shanX is offline
Senior Member
shanX is on a distinguished road
 
Posts: 9,983
Join Date: Oct 2006
Location: Kandy, LK
Send a message via MSN to shanX Send a message via Yahoo to shanX
07-16-2007, 06:52 PM

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Elakiri games auk PC Games 805 07-29-2011 02:11 PM
Html To Php Convertor 4.22 gazaly Web Development 12 08-23-2007 07:55 AM
HTML dpg ElaKiri Jokes 17 03-11-2007 01:43 PM
W3C to Develop New HTML Spec Anusha News & Discussion 2 03-07-2007 11:39 PM
html codes nadisha ElaKiri Help 0 01-23-2007 11:35 AM



Copyright © 2006 - 2011 ElaKiri™ Beta2.Evo vBulletin, vBa iBproArcade Subdreamer I-Magic MKv
Optimisation plugin by DBtech

Page generated in 0.08364 seconds with 7 queries