i would like to combine between the following two code
HTML Code: 
and
HTML Code: