Added new dom function to create inline html