Nevermind, I figured it out.
#!/bin/shfor f in *.html ; do echo "test" >> $fdone
tee is good for these sorts of things.
echo "test" | tee -a *.html
sed -i.bak '$a append' *.html