function
funMake() {
for
(
var
i=0, j=0; i<document.getElementById(
'f1'
).attributes.length; i++, j++) {
document.write(document.getElementById(
).attributes[i].nodeName+
' : '
);
).attributes[j].nodeValue+
'<br />'
}
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
script
src
"js/script.js"
></
</
body
form
id
"f1"
action
"#"
method
"post"
name
"form0"
input
type
"text"
"text0"
"submit"
"perform"
value
"send"
br
funMake();