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,489
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
3,259
Replies
11
Views
3,647
Replies
0
Views
1,642
Latest threads
Replies
2
Views
906
Replies
0
Views
661
Replies
4
Views
1,780
Replies
2
Views
777

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