|
Riteshkumar Yadav answered |
![]() |
Kavya Singh answered |
![]() |
Rohit Sharma answered |
![]() |
EduRev Class 8 answered |
![]() |
EduRev Class 8 answered |
![]() |
Sushil Solanki answered |
![]() |
Jhanvi Chauhan answered |
![]() |
Shivam Kumar answered |
![]() |
Sameer Chauhan answered |
![]() |
Aditi Saxena answered |
![]() |
Divya Rane answered |
|
C K Academy answered |
![]() |
Kaavya Iyer answered |
![]() |
Skyhigh Academy answered |
![]() |
EduRev Class 8 answered |
![]() |
Sushil Solanki answered |
![]() |
EduRev Class 8 answered |
![]() |
Bhaskar Nair answered |
![]() |
Focus Academy answered |
![]() |
Focus Academy answered |
<input>
element with the type="text"
attribute. Here is the correct HTML code:<input type="text">
<input>
element is a self-closing tag, meaning it does not have a closing tag.type="text"
attribute specifies that the input field should accept text input.<textinput type="text"/>
is not a valid HTML tag. There is no <textinput>
tag in HTML.<input type="textfield"/>
is not a valid HTML type attribute. The correct value for a text input field is text
, not textfield
.<text type="inputfield"/>
is not a valid HTML tag. There is no <text>
tag in HTML.<input type="text"/>
is the correct answer. This option is the correct HTML code for creating a text input field.<input type="text">
(Option D).
![]() |
EduRev Class 8 answered |
![]() |
Trisha Vashisht answered |
![]() |
Trisha Vashisht answered |
|
C K Academy answered |
![]() |
Sushil Solanki answered |
National Cyber Olympiad Class 8
5 videos|9 docs|39 tests
|
Free Exam Preparation
at your Fingertips!
Access Free Study Material - Test Series, Structured Courses, Free Videos & Study Notes and Prepare for Your Exam With Ease
![]() ![]() |
![]() |