1. Computing & Technology

Discuss in my forum

XHTML Attributes - enctype

By , About.com Guide

enctype:

This is the content type used to submit the form to the server when the method is post.

Used with Elements:

Content:

"application/x-www-form-urlencoded" or "multipart/form-data"
Use "multipart/form-data" when you're using the <input type="file" />.

Default:

application/x-www-form-urlencoded

Deprecated in XHTML 1.0:

No

DTD:

XHTML 1.0 Standard

©2012 About.com. All rights reserved.

A part of The New York Times Company.