简体   繁体   中英

Writing html tags with no effects in a ebook (xhtml)

I'm writing a tutorial book (epub with xhtml) and i want to include for explanations some blocks of html.

The problem is when i write them they have effect on my page... i have tried to include them with "pre" tags but this way corrupt my page. I also try surround with "code" tags but same result. For example i want to write this line in my tutorial :

<body><head></head></body>

I use the editor of the "calibre" software.

Anyone had this problem ?

thanks by advance

I needed to replace < by &lt; and > by &gt; .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM