Given the following code:
```html
```
Which type of form validation is used?
> ''The `onsubmit='return validateForm()'` attribute calls a JavaScript function when the form is submitted. If the function returns `false`, submission is prevented.''
>
> This is an example of client-side JavaScript validation. VBScript is outdated and IE-specific; CSS is for styling, and HTML-only validation would not use a JavaScript function.
* MDN Web Docs: HTMLFormElement.onsubmit
* JavaScript Form Validation Guide
---
Mose
17 days agoMalcom
22 days agoTegan
27 days ago