开发者

self.response.out.write takes out html tags

In google app engine certain html tags are stripped out like tr, table

an example is the following. The tr is completely stripped out when viewing the html code from a deployed app.

self.response.out.write("<html><body><tr><p>hello you1</p>开发者_开发技巧;</tr></body></html>" )


it's your browser wich remove the tr because the tr are used with the balise table

http://www.w3.org/TR/html4/struct/tables.html#h-11.2.5

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜