A URL is a website address, usually with http:// at the front of www. HTML 5 introduced a text box for a URL. Here is the code to try. Notice the type is now URL:
<FORM>
<INPUT TYPE="URL" PLACEHOLDER="Enter a website">
<P>
<INPUT TYPE="Submit" VALUE="Submit">
</FORM>
At the time of writing, only Firefox and Chrome support the URL text box, popping up a message when you don't type the full address (complete with http:// at the front).
No comments:
Post a Comment