Compass base on HTML