Select, Textarea and Button

Dear Sciaku Learner you are not logged in or not enrolled in this course.

Please Click on login or enroll now button.

If you have any query feel free to chat us!

Happy Coding! Happy Learning!

Lecture 30:- Select, Textarea and Button

The <select> tag creates a drop-down list of options that the user can choose from. The options are defined using the <option> tag, and the selected option can be accessed using the value attribute of the <select> tag. For example:

phpCopy code

<select name="countries">  <option value="USA">USA</option>  <option value="Canada">Canada</option>  <option value="Mexico">Mexico</option> </select>

The <textarea> tag creates a multi-line text input field, allowing the user to enter multiple lines of text. The rows and cols attributes can be used to specify the size of the text area. For example:

phpCopy code

<textarea name="message" rows="5" cols="30">Enter your message here</textarea>

The <button> tag creates a clickable button that can be used to submit the form data or perform other actions using JavaScript. The text that appears on the button can be defined between the opening and closing <button> tags. For example:

bashCopy code

<button type="submit">Submit</button> <button type="button">Cancel</button>

4. Forms

2 Comments

@niteshguptav63
niteshguptav63 Nov 17, 2024 at 1:39 PM

I am not able to access videos from second class and further. I have already completed first class

@niteshguptav63
niteshguptav63 Nov 16, 2024 at 10:56 AM

When will I get my course?

@admin79
admin79 Nov 17, 2024 at 1:29 PM

Now, Your query was resolved.

Frequently Asked Questions About Sciaku Courses & Services

Quick answers to common questions about our courses, quizzes, and learning platform

Didn't find what you're looking for?

help_center Contact Support