A error opening and writing a .HTML with a micro SD module and a Arduino MEGA

Thanks, But how am i do to use html with this class? or i can write a pdf with a html code?