Now the final task is to include this element in the object and save all of the HTML code to a file, which you'll do in Listing 8.
现在最后一项任务是将这个元素加入到对象中,并将所有HTML代码保存到一个文件中,这是在清单8中完成的。
All elements in the HTML code should have an ID.
HTML代码中的所有元素都应有一个ID。
It then outputs all the comments as HTML code, exactly as was done on the original page but with the exception that this time, it displays the additional comment that the user provided.
然后,将所有的评论内容作为HTML代码输出,其方式与原始评级页面一样,只不过这次页面中额外显示了用户所提供的评论。
应用推荐