As noted earlier in this chapter, browser support for HTML5 form elements and properties is a work in progress. For that reason, I'd advise against using HTML5 form attributes that are essential for the form to work—such as validation attributes.
But HTML5 placeholders are a good idea. They prompt a user with text inside the form field that disappears as a user enters content. If the user's environment doesn't support HTML5 form placeholders, they can still rely on the form label to help them figure out what to enter into the form field.
A placeholder parameter can be added to a text input. Unfortunately, Dreamweaver CS6 doesn't offer options for defining placeholder text in the Design view, but we can do this in the Code view. To do that, perform the following steps:
Select the Split view from Dreamweaver's Document window.
Click on a form field in the Design side of the Split view to find the code on the Code side of the Split view, as shown on the following screenshot...