17-05-2026
1.<Div>:
* The tag defines a division or a section in an HTML document.
* The <Div> tag is used as a container for HTML elements, which are then styled with CSS or manipulated with JavaScript.
* The <div> tag is easily styled by using the class or id attributes.
2. <span>
1.<span> tag is an inline container used to mark up a part of a text, or a part of a document.
3 class
1. Class attributes are often used to point to a class name in the stylesheet
2.a class write a period(.)character by a class name.Then define the CSS properties within curly braces{}
4. id
1. TheIDd is name is case sensitive.
2. The ID name must contain at least one character, cannot start with a number, and must not contain whitespaces (spaces, tabs, etc.).
5. for
Screen readers will read the label text when the associated input field is focused, helping visually impaired users.
6.name
An attribute is used as a reference when the data is submitted.
7. Get vs Post
In Swiggy, viewing the menu is a GET request. When I place my order, the selected items are sent to the server using a POST request."
8.value
The value attribute specifies an initial value for an input field.
9.readonly
The value of a read-only input field will be sent when the form is submitted!
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)