Create DOM nodes3 (longer version)