`
<html>
<head>
<title>
SPARK
</title>
</head>
<body>
<font face="Arial"><h1>
<center>SPARK Registration form</center>
</h1>
This is the registration form for the SPARK exam-2019.The student must belong to class 8 ,that is, 13-14 years of age.After filling the form you can click
the OK button to submit the form.
<form action="SPARK.html" method="post">
NAME :<input type="text" size="20">
<br><br>
CLASS :<input type="radio">8<br><br>
DIVISION :<br>:<input type="radio">A<br><br>
:<input type="radio">B<br><br>
:<input type="radio">C<br><br>
:<input type="radio">D<br><br>
:<input type="radio">E<br><br>
About you (Ambition) :<input type="text" size ="100"> <br><br>
E-mail address :<input type="text" size="50">
<a href="G:\HTML STUDIES\rufsana.html"><img src="iex.jpg" align="right">
</a>
</body>
</html>
`当我尝试输入图像链接时,该图像没有出现。我在任何可以搜索的地方进行搜索,但没有得到我的问题的答案。如果有人帮助我,那将是很好的选择。
答案 0 :(得分:3)
<html>
<head>
<title>
SPARK
</title>
</head>
<body>
<font face="Arial">
<h1>
<center>SPARK Registration form</center>
</h1>
This is the registration form for the SPARK exam-2019.The student must belong to class 8 ,that is, 13-14 years of age.After filling the form you can click
the OK button to submit the form.
<form action="SPARK.html" method="post">
NAME :<input type="text" size="20">
<br><br>
CLASS :<input type="radio">8<br><br>
DIVISION :<br>:<input type="radio">A<br><br>
:<input type="radio">B<br><br>
:<input type="radio">C<br><br>
:<input type="radio">D<br><br>
:<input type="radio">E<br><br>
About you (Ambition) :<input type="text" size ="100"> <br><br>
E-mail address :<input type="text" size="50">
<a href="G:\HTML STUDIES\rufsana.html"><img src="https://mk0jobadderjftub56m0.kinstacdn.com/wp-content/uploads/stackoverflow.com-300.jpg" align="right">
</a>
</form>
</body>
</html>
答案 1 :(得分:3)
您忘记了关闭表格。在锚定语句的上方插入</form>
。
答案 2 :(得分:2)
您需要做的就是在HTML中添加以下CSS:
a{
display: block;
}
a img{
height: 50%;
width: 50%;
}
/*
Your height and width of the image depends on your requirement.
*/
当然,<form>
标签需要一个结束标签</form>
。