how to add custom html and css to wordpress

Login to wordpress then Appearance->Theme Editor

Add your CSS to style.css file

and place your Javascript code somewhere in footer.php file with $ replaced with jQuery

and on page edit option place css classes where you want to give css to