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,900
Replies
0
Views
1,417
Latest threads
Replies
2
Views
127
Replies
1
Views
190
Replies
6
Views
438
Replies
11
Views
547
Replies
2
Views
238

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