网站开发基础:HTML、CSS

ops/2024/10/11 7:20:50/
htmledit_views">

前端开发主要使用的技术如 HTML、CSS 和 JavaScript 等。

简单制作一个网页

 

<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><title>柒毓同学网站的首页</title><style>.c1{border: solid 1px green;width: 49%;height: 250px;float: left}</style>
</head>
<body><h1>这是一级标题</h1><h2>这是二级标题</h2></body>
</html>

<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><title>柒毓同学网站的首页</title><style>.c1{border: solid 1px green;width: 49%;height: 250px;float: left}</style>
</head>
<body><h1>这是一级标题</h1><h2>这是二级标题</h2><div style="border: solid 1px red;width: 100%;height: 300px"></body>
</html>

<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><title>柒毓同学网站的首页</title><style>.c1{border: solid 1px green;width: 49%;height: 250px;float: left}</style>
</head>
<body><h1>这是一级标题</h1><h2>这是二级标题</h2><div style="border: solid 1px red;width: 100%;height: 300px"><div class="c1"><ol><li>我是第一行</li><li>我是第二行</li></ol></div><div class="c1" style="float: right"><ul><li>我是第一行</li><li>我是第二行</li></ul></div></div></body>
</html>

<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><title>柒小毓网站的首页</title><style>.c1{border: solid 1px green;width: 49%;height: 250px;float: left}</style>
</head>
<body><h1>这是一级标题</h1><h2>这是二级标题</h2><div style="border: solid 1px red;width: 100%;height: 300px"><div class="c1"><ol><li>我是第一行</li><li>我是第二行</li><li>http://www.baidu.com</li><li>liujingwei@cueb.edu.cn</li><li>liu.jingwei@cueb.vip</li><li>liu-jingwei@teacher.cueb-2019.vip</li><li>liujingwei@cueb...vip</li></ol></div><div class="c1" style="float: right"><ul><li>我是第一行</li><li>我是第二行</li><li>http://www.baidu.com</li><li>liujingwei@cueb.edu.cn</li><li>liu.jingwei@cueb.vip</li><li>liu-jingwei@teacher.cueb-2019.vip</li><li>liujingwei@cueb...vip</li></ul></div></div></body>
</html>


http://www.ppmy.cn/ops/123858.html

相关文章

【uniapp小程序】使用cheerio去除字符串中的HTML标签并获取纯文本内容

【uniapp小程序】使用cheerio去除字符串中的HTML标签并获取纯文本内容 参考资料安装引入使用 参考资料 【博主&#xff1a;AIpoem】uniapp小程序 使用cheerio处理网络请求拿到的dom数据 cheerio文档&#xff1a;https://github.com/cheeriojs/cheerio/wiki/Chinese-README 安…

JAVA开发中的常用通讯协议

在JAVA开发中&#xff0c;通讯协议是实现不同系统或组件之间数据交换的基础。随着分布式系统和微服务架构的流行&#xff0c;掌握常用的通讯协议对于JAVA开发者来说至关重要。本文将介绍在JAVA开发中常用的几种通讯协议&#xff0c;以及它们的特点和应用场景。 1. HTTP/HTTPS …

kotlin 委托

一、类委托 interface DB{fun insert() } class SqliteDB : DB {override fun insert() {println(" SqliteDB insert")} }class MySql : DB{override fun insert() {println(" MySql insert")} }class OracleDB : DB{override fun insert() {println(&quo…

情绪识别数据集(包含25w张图片) yolo格式类别:八种训练数据已划分, 识别精度:90%

情绪识别数据集(包含25w张图片) yolo格式 类别&#xff1a;Anger、Contempt、Disgust、Fear、Happy、Neutral、Sad、Surprise 八种 训练数据已划分&#xff0c;配置文件稍做路径改动即可训练。 训练集&#xff1a;171010 验证集&#xff1a;54060 测试集&#xff1a;27550 共计…

Codeforces Round 977 (Div. 2)E1 Digital Village (Easy Version)(Floyd,贪心)

题目链接 Codeforces Round 977 (Div. 2&#xff09;E1 Digital Village (Easy Version) 思路 首先&#xff0c;我们注意到 n n n的最大值只有 400 400 400。 因此&#xff0c;我们可以先用 F l o y d Floyd Floyd算法预处理出任意两座城市之间的最大延迟时间。 之后&…

strstr

strstr函数原型&#xff1a; char *strstr&#xff08;conset char *s, conset char *s2&#xff09;; 功能&#xff1a;在字符串s中查找字符串s2出现的位置 返回值&#xff1a; 成功&#xff1a;返回第一次出现的s2的地址 失败&#xff1a;NULL

springboot第75集:kafka,线程,进程,容器化服务,线程池

消息中间件在异步通信中⽤的最多&#xff0c;很多业务流程中&#xff0c;如果所有步骤都同步进⾏可能会导致核⼼流程耗时⾮常⻓&#xff0c;更重 要的是所有步骤都同步进⾏⼀旦⾮核⼼步骤失败会导致核⼼流程整体失败&#xff0c;因此在很多业务流程中Kafka就充当了异步 通信⻆⾊…

设计模式 - 创建型模式 上(C++版)

设计模式 - 创建型模式 上&#xff08;C版&#xff09; 一、设计模式的七大原则1、开放封闭原则2、单一职责原则3、依赖倒置原则4、接口隔离原则5、里氏替换原则6、合成复用原则7、迪米特法则8、关于设计模式 二、单例模式&#xff08;Singleton Pattern&#xff09;1、懒汉式单…