Reputation: 1927
I want to use the new HTML5 new input types such as color,date picker etc for HTML5 Tutorial in my site.
I am using Dreamweaver 5.5 to work to work on these new tags but they are not working.I
searched on google so i got to know that i need to tag
libraries or something like that.But i don't know how to use them.
<!DOCTYPE HTML>`
<html>
<form action="html-date" method="get">
Date:<input type="date" name="date" />
<input type="submit">
</form>
</html>
But when i see the output i get a simple text field instead of date picker. If someone has used HTML5 in dreamweaver then help me.
Upvotes: 1
Views: 538
Reputation: 5404
If it does not even work in a browser why would you want dreamweaver to display it?
Dreamweaver only tries to display what a browser would display and in this case it does the right thing: it displays what anyone with firefox or internet explorer would see (probably 95%+ of your visitors)
To test what it would look like in another browser of your choice (chrome for example) you should load your page from disk or upload it to your webhost and try it in that browser. That's the only way to see how that specific browser will display your page.
Upvotes: 0
Reputation: 5980
If you have typed the code correctly, then it depends whether your browser supports HTML5 as to whether or not they will display correctly when you view your HTML page in browser. What browser are you using?
AFAIK, currently, the only browser to support date picking is Opera, your code seems correct, it's simply lack of compatibility with whatever browser you're using to view it. :)
Upvotes: 2
Reputation: 1846
You should be able to insert any tag with Dreamweaver, just switch to the code view and add them there.
Upvotes: 1