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,332
Replies
11
Views
3,731
Replies
0
Views
1,685
Latest threads
Replies
0
Views
35
Replies
0
Views
35
Replies
1
Views
47
Replies
3
Views
111
Recommended threads
Replies
2
Views
1,730
Replies
0
Views
1,660
Replies
0
Views
2,214
Replies
0
Views
5,050
Replies
1
Views
2,078
Top