Move inline style to <style>.

Also fix the validation errors.