HTML代码也就是HTML语言编写的文本。HTML文本是由HTML命令组成的描述性文本。
HTML命令可以说明文字、图形、动画、声音、表格、链接等。HTML的结构包括头部(Head)、主体(Body)两大部分,其中头部描述浏览器所需的信息,而主体则包含所要说明的具体内容。
以下是HTML代码:
<html> <head> <meta http-equiv=content-type content=text/html;charset=utf-8> <meta http-equiv=X-UA-Compatible content=IE=Edge> <meta content=always name=referrer> <meta name=theme-color content=#2932e1> <link rel=shortcut icon href=/favicon.ico type=image/x-icon /> <link rel=search type=application/opensearchdescription+xml href=/content-search.xml title=百度搜索 /> <link rel=icon sizes=any mask href=//www.baidu.com/img/baidu_85beaf5496f291521eb75ba38eacbd87.svg> <link rel=dns-prefetch href=//s1.bdstatic.com/> <link rel=dns-prefetch href=//t1.baidu.com/> <link rel=dns-prefetch href=//t2.baidu.com/> <link rel=dns-prefetch href=//t3.baidu.com/> <link rel=dns-prefetch href=//t10.baidu.com/> <link rel=dns-prefetch href=//t11.baidu.com/> <link rel=dns-prefetch href=//t12.baidu.com/> <link rel=dns-prefetch href=//b1.bdstatic.com/> <title>百度一下,你就知道</title> <style id=css_index index=index type=text/css>html,body{height:100%}