It is totally fine .
The form
will submit only its input type controls ( *also Textarea
, Select
, etc…).
You have nothing to worry about a div
within a form
.
More Related Contents:
- Should I use tag for icons instead of ? [closed]
- input type=”submit” Vs button tag are they interchangeable? [duplicate]
- vs vs for inline and block code snippets
- Is a DIV inside a TD a bad idea?
- Using custom HTML Tags
- Should a heading be inside or outside a ?
- Are block-level elements allowed inside inline-level elements in HTML5?
- HTML5 nested sections and heading tags
- Markup for postal addresses
- w3c html validation error – Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections
- Valid to use (anchor tag) without href attribute? [duplicate]
- How to properly use h1 in HTML5
- When to use line breaks vs CSS positioning?
- Marking up a search result list with HTML5 semantics
- CSS/HTML: What is the correct way to make text italic?
- Most common way of writing a HTML table with vertical headers?
- CSS Not Being Responsive
- Two submit buttons in one form
- Line break in HTML with ‘\n’
- Li item on two lines. Second line has no margin
- Add a background image (.png) to a SVG circle shape
- Tables instead of DIVs [duplicate]
- Is type=”text/css” necessary in a tag?
- Make row stretch across all columns in CSS Grid
- Flexbox affects overflow-wrap behavior
- How can I make a TextArea 100% width without overflowing when padding is present in CSS?
- How do I remove the top margin in a web page?
- Is text-indent: -9999px a bad technique for replacing text with images, and what are the alternatives?
- Radio buttons and label to display in same line
- How to apply font anti-alias effects in CSS? [duplicate]