Modularize HTML