How to get a directory path with html5 tag

I want to get a directory’s full path through html’s <input> method, but when I try to use the type="file" webkitdirectory multiple tag, I just select all of the files in a directory to upload. How can I get the path a directory? And also, how can I get the path value in javascript?