Change default text in input type=file?
Each browser has it's own rendition of the control and as such you can't change either the text or the orientation of the control.
There are some "kind of" hacks you may want to try if you want an html/css solution rather than a Flash or silverlightsolution.
http://www.quirksmode.org/dom/inputfile.html
http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom
Personally, because most users stick to their browser of choice, and therefore are probably used to seeing the control in the default rendition, they'd probably get confused if they saw something different (depending on the types of users you're dealing with).
How can i change the default text of my input type=file?
<button>My button</button>
or
<input type="button" value="my button">
or you may use bootstrap buttons
Change the No file chosen:
I'm pretty sure you cannot change the default labels on buttons, they are hard-coded in browsers (each browser rendering the buttons captions its own way). Check out this button styling article
How to set a value to a file input in HTML?
You cannot set it to a client side disk file system path, due to security reasons.
Imagine:
<form name="foo" method="post" enctype="multipart/form-data">
<input type="file" value="c:/passwords.txt">
</form>
<script>document.foo.submit();</script>
You don't want the websites you visit to be able to do this, do you? =)
You can only set it to a publicly accessible web resource as seen in this answer, but this is clearly not the same as a client side disk file system path and it's therefore useless in that context.
Related Topics
How to Open a Link in New Tab Using Angular
Add Onclick Event to Svg Element
Making Div Visible or Invisible Depend on Condition
Using Mailto to Send Email With an Attachment
Html,Css - How to Horizontally Center Two Tables Side by Side
How to Get an Iframe to Be Responsive in iOS Safari
Alternative to Iframes With Html5
How to Make Space Between Two Buttons in Same Div
Disable Certain Dates from Html5 Datepicker
Chrome User Agent Stylesheet Overwriting My Site Style
How to Avoid Element from Expanding When Its Content Text Font-Size Gets Bigger
Div Elements Overlapping Each Other
How Change Text and Color of Button Browse of Input File
Maxlength Ignored for Input Type="Number" in Chrome
How to Divide Div Color With 30% Different Color and 70% Different Color in Vertical Using CSS