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,485
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,106
Replies
11
Views
3,453
Replies
0
Views
1,525
Latest threads
Replies
1
Views
35
Replies
1
Views
35
Replies
0
Views
62
Replies
1
Views
62
Replies
2
Views
98
Recommended threads
Replies
4
Views
3,114
Replies
9
Views
4,132
Replies
5
Views
6,414
jyy
Replies
3
Views
2,403

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