how can i write html code in html file in a SD card?

hi i want to write a html code that are in the string.
i want write this string to a html file in a SD card but when i use

File htmlfile=SD.open("h.html",FILE_WRITE);
String st="<div><p>Taken from wikpedia</p>";
htmlfile.print(st);  
Serial.println(htmlfile.print(st));

this not working correctly and Serial monitor just show an integer like 35
what should i do…
thank you.

Look at the documentation for the print() method. It returns an integer with the number of characters written.

Serial.println(st);