1、HTML
超文本标记语言(英语:HyperText Markup Language,简称:HTML)是一种用于创建网页的标准标记语言。你可以使用 HTML 来建立自己的 Web 站点,HTML 运行在浏览器上,由浏览器来解析。学起来也是非常简单。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSDN</title>
</head>
<body>
<h1>我的第一个标题</h1>
<p>我的第一个段落。</p>
</body>
</html>
2、CSS
CSS 指层叠样式表 (Cascading Style Sheets),样式定义如何显示 HTML 元素,样式通常存储在样式表中,外部样式表可以极大提高工作效率,外部样式表通常存储在 CSS 文件中。简单来说,就是HTML显示网页的文本内容,CSS显示网页的布局和外观。
body
{
background-color:#d0e4fe;
}
h1
{
color:orange;
text-align:center;
}
p
{
font-family:"Times New Roman";
font-size:20px;
}
3、JavaScript
JavaScript 是互联网上最流行的脚本语言,也是 Web和HTML 的编程语言。现在所有的 HTML 页面都使用 JavaScript,JavaScript 是 Web 开发人员必须学习的 3 门语言中的一门。
<script>
function displayDate(){
document.getElementById("demo")。innerHTML=Date();
}
</script>
1
2
3
4
5
总结一下上面的三门语言,也是在校大学生必学的Web前端课程:
HTML 定义了网页的内容
CSS 描述了网页的布局
JavaScript 控制了网页的行为
如需转载,请注明文章出处和来源网址:http://www.divcss5.com/html/h64806.shtml
- 上一篇:Vue3添加 methods 选项实例
- 下一篇:HTML常用标签之表单标签
必备CSS教程Essential CSS Tutorials
- css height
- css line-height
- css width
- css min-width
- css max-width
- css min-height
- css max-height
- css border
- css background
- css float
- css clear
- css display
- css font
- css text-transform
- css英文首字母大写
- css font-variant
- css font-weight
- css font-style
- css text-decoration
- css 删除线
- div css 虚线
- css 注释
- html 注释
- css padding
- css margin
- css 文本
- css font-size
- css font-family
- css color
- css text-align
- css text-indent
- css 超链接(css a)
- css 优化压缩
- css id(css #)
- css class(css .)
- css ul li列表
- css 圆角圆边
- css 父级子级
- css 指针概念
- css cursor
- css overflow
- html px em pt网页单位
- CSS important
- CSS position
- css z-index
- css white-space
- css img图片
- css class id
- css link与@import区别
- css 选择器
- css引入html
必备HTML基础教程Essential HTML Tutorials
- html img图片标签
- html em标签(EM强调标签)
- html strong加粗(strong标签)
- html B加粗(b加粗标签)
- strong与B加粗区别
- h1 h2 h3 h4标签(html标题标签)
- html A超链接锚文本
- html注释
- html head头部标签
- html title标题标签
- html meta标签
- html link标签
- html i斜体标签
- html u下划线标签
- html s删除线标签
- html换行br标签
- html p段落标签
- p标签与br标签区别
- html div标签元素
- html span标签
- html font标签
- html script标签
- html px em pt网页单位
- html ul li列表
- ol li列表
- dl dt dd标签组
- table tr td表格
- table tr th表格
- html form表单
- html form input
- html form textarea文本区域
- html select下拉与跳转(Html select)
- html iframe框架
- html网页结构
- htm html shtml区别用法
- 网页编码charset
- UTF-8 GBK UTF8 GB2312区别联系
- 先写html还是先写CSS
- 显示扩展名
- html标签大全集合
- html常用标签
- 网页源代码是什么