Sir you forgot to mention that in the src you gave just the filename because it was residing in the same folder where the html file was saved. If js file was in different folder we need to give the full path of that file in src attribute
sir document.write("welcome dcndjcnhdcnhjsd") ; edi output perfect ga vachindi ....but document.write("welcome dcndjcnhdcnhjsd"); edi ravatamledu sir enduku sir, how to write