# Fallback for no JavaScript

Sometimes you need to build websites that should work even if the user doesn't have JavaScript enabled or the browser is not supported. Of course, a drag'n'drop JavaScript library won't work in these cases, but Dropzone got you covered by offering a way to define a fallback.

Inside your dropzone HTML element (in most cases that's a `<form>` element), you can define an additional element with the class `fallback` . When (or in this case: "if") Dropzone initializes, it will simply remove this element.

Here is an example of what this might look like:

```markup
<form action="/file-upload" class="dropzone">
  <div class="fallback">
    <input name="file" type="file" multiple />
  </div>
</form>
```

So in case the browser doesn't support JavaSript, the user will simply see the `fallback` div with the file input element, and everything will work normally but with no drag and drop support.

*If* the browser is supported however, this element will be removed, and Dropzone will add a notice that it accepts dropped files and handle them.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dropzone.dev/getting-started/setup/fallback-for-no-javascript.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
