Why UI Text Box And Button iFrame Present

sunny_pro

New member
Joined
Jun 18, 2017
Messages
86
Points
0
Php Guys,

Why does not the UI Text Box and "Browse!" button get displayed below the iframe ?


Code:
			<iframe src="http://cnet.com"</iframe>
			
			<form method="post" action="">	
			<div class="form-group">
			<label for ="url">Url: </label>
			<input type="text" name="url_to_browse"><br>
			<button type="submit" class="btn btn-default" name="browse">Browse!</button>
			</div>

Get rid of the iframe code and the button gets displayed! What a mystery!

Code:
			<form method="post" action="">	
			<div class="form-group">
			<label for ="url">Url: </label>
			<input type="text" name="url_to_browse"><br>
			<button type="submit" class="btn btn-default" name="browse">Browse!</button>
			</div>
 

Rob Whisonant

Moderator
Joined
May 24, 2016
Messages
2,481
Points
113
Because your iframe code is wrong. You are missing an > symbol. The correct line should be...

<iframe src="http://cnet.com"></iframe>
 

Jud

New member
Joined
Oct 20, 2017
Messages
14
Points
0
Yes I agree closing tag cause the error, I think much better to use a sublime then notepad.
 
Newer threads
Replies
5
Views
2,992
Replies
11
Views
2,897
Replies
0
Views
1,416
Latest threads
Replies
2
Views
92
Replies
1
Views
181
Replies
5
Views
390
Replies
11
Views
528
Replies
2
Views
231
Recommended threads
Replies
8
Views
6,173
Replies
4
Views
3,478
Replies
2
Views
1,236
Replies
9
Views
3,466

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top