Some tips in Html

来源:互联网 发布:远程数据库导入sql文件 编辑:程序博客网 时间:2024/03/29 06:57
  • Html is a container for css/js and also provide some simple style, css provide more complex style, js controls behavior.
  • When writing html, first arrange the layout, outside in, then fill the detailed content, for example, first <html></html>, then <head></head> <body></body>, then fill <head> section and <body> section, and so on. Using <div> to define section.
  • Using <link> tag imports dependent external css files and using <script> tag imports dependent external js files in <head> section.
  • Adding dependent external sources such as css files or js files at the top of html file in <head> section.
  • 原创粉丝点击