Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>A cursor should be shown when a textarea element is created and focused immediately</title>
<textarea id="target"></textarea>
<script>
target.focus();
</script>