Add html elements factory

Change-Id: Ie889ec3f00cf0d027c5f2496c07adceda946449b