JSFiddle - React, Tailwind, and code Playground

by tonkec palonkec

HTML

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Validacije u formi</title>
</head>
<body>
  <form action="">
   <label for="url">Tvoja web stranica</label>
   <input type="url" id="url" name="website" required pattern="https?://.+">
   <input type="submit">
  </form>
</body>
</html>