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

String st="<div><p>Taken from wikpedia</p>";

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.