web-初始前端

news2024/9/24 1:27:36

 

 

不区分大小写,单双引号,

 <html>
    <head>
        <title>初识HTML</title>
    </head>
    <body>
        <h1>Hello world!</h1>
        <img src = 'OIF-C.jfif'/>
    </body>
</html>

 

<!-- 文件格式 -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
   <!-- 兼容性 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>家人们,谁懂!</title>
</head>
<body>
    <img src="../img\news_logo.png">新浪>正文
    <h1>焦点访谈</h1>
    <hr>
    2023.8.8
    <hr>
</body>
</html>

 

 

 

 

 

 

<html>
    <head>
        新浪网
        <style>
            #time{
                color: rgb(222, 218, 218);
            }
            #where{
                font-size: 15 px;
            }
            a{
                color: black;
                /* 去除下划线 */
                text-decoration: none;
            }
            p{
                text-indent: 35px;
                line-height: 35px;
            }
            #编辑{
                text-align: right;
            }
        </style>
    </head>
    <body>
        <img src="../img/news_logo.png"><a href="https://www.cctv.com/" target="_self">新浪</a> >正文
        <hr>
        <span id="time">2023.8.8</span> <span id = "where"> <a href="https://www.cctv.com/" target="_blank">央视网</a> </span>
        <hr>

    <!-- 正文 -->
    <video src="../video/1.mp4" controls width="500px"></video>
    <audio src="../audio/1.mp3" controls></audio>
    <p><b>嘉宝啊</b>哇哇<strong>牛蛙</strong> 哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇1哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇dskjflkajs。</p>
    <p>然后呢</p>
    <img src="../img/7.jpg">
    <p>over</p>
    <p id="编辑">责任编辑:陈锐</p>
    </body>
</html>

 

<html>
    <head>
        新浪网
        <style>
            #time{
                color: rgb(222, 218, 218);
            }
            #where{
                font-size: 15 px;
            }
            a{
                color: black;
                /* 去除下划线 */
                text-decoration: none;
            }
            p{
                text-indent: 35px;
                line-height: 35px;
            }
            #编辑{
                text-align: right;
            }
            #center{
                width: 65%;
                margin:0 auto;
            }
        </style>
    </head>
    <body>
        <div id="center">
            <img src="../img/news_logo.png"><a href="https://www.cctv.com/" target="_self">新浪</a> >正文
            <hr>
            <span id="time">2023.8.8</span> <span id = "where"> <a href="https://www.cctv.com/" target="_blank">央视网</a> </span>
            <hr>

            <!-- 正文 -->
            <video src="../video/1.mp4" controls width="500px"></video>
            <audio src="../audio/1.mp3" controls></audio>
            <p><b>嘉宝啊</b>哇哇<strong>牛蛙</strong> 哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇1哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇dskjflkajs。</p>
            <p>然后呢</p>
            <img src="../img/7.jpg">
            <p>over</p>
            <p id="编辑">责任编辑:陈锐</p>
        </div>
    </body>
</html>

 

<html>
    <head>
        <title>表格</title>
        <style>
            tr{
                text-align: center;
            }
        </style>
    </head>
    <body>
        <table border="1px" cellspacing="0" width="600px">
            <tr>
                <th>序号</th>
                <th>品牌</th>
                <th>图标</th>
            </tr>
            <tr>
                <td>1</td>
                <td>华为</td>
                <td><img src="../img/huawei.jpg"></td>
            </tr>
            <tr>
                <td>2</td>
                <td>阿里</td>
                <td><img src="../img/alibaba.jpg"></td>
            </tr>
        </table>
    </body>
</html>

<html>
    <head>
        <title>表单</title>
    </head>
    <body>
        <form action="" method="get">
            用户名:<input type="text" name="username">
            密码:<input type="text" name="password">
            <input type="submit" value="提交">
        </form>
    </body>
</html>

 

 

 

<html>
    <head>
        <title>表单</title>
    </head>
    <body>
        <form action="" method="get">
            用户名:<input type="text" name="username"><br><br>
            密码  :<input type="password" name="password"><br><br>
            性别  :<label><input type="radio" name="gender" value="1">男 </label>
                    <label><input type="radio" name="gender" value="2">女 </label><br><br>
            科目  :<label><input type="checkbox" name="subject" value="java">java</label>
                    <label><input type="checkbox" name="subject" value="SQL">SQL</label>
                    <label><input type="checkbox" name="subject" value="web">web</label><br><br>
            文件  :<input type="file" name="file"><br><br>
            日期  :<input type="date" name="date"><br><br>
            时间  :<input type="time" name="time"><br><br>
            日期时间: <input type="datetime-local" name="datetime"><br><br>
            年龄  :<input type="number" name="age"> <br><br>
            邮件  :<input type="email" name="email"> <br><br>
            隐藏  :<input type="hidden" name="hidden"><br><br>
            学历  :<select name="degree">
                        <option value="">请选择</option>
                        <option value="1">大专</option>
                        <option value="2">本科</option>
                        <option value="3">nice</option>
            </select><br><br>
            描述  :<textarea name="description" cols="30" rows="10"></textarea><br><br>
            <input type="submit" value="提交">
            <input type="button" value="未知">
            <input type="reset" value="重置">
        </form>
    </body>
</html>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/854858.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

PoseFormer:基于视频的2D-to-3D单人姿态估计

3D Human Pose Estimation with Spatial and Temporal Transformers论文解析 摘要1. 简介2. Related Works2.1 2D-to-3D Lifting HPE2.2 GNNs in 3D HPE2.3 Vision Transformers 3. Method3.1 Temporal Transformer Baseline3.2 PoseFormer: Spatial-Temporal TransformerSpati…

人文景区有必要做VR云游吗?如何满足游客出行需求?

VR云游在旅游行业中的应用正在快速增长&#xff0c;为游客带来沉浸式体验的同时&#xff0c;也为文旅景区提供了新的营销方式。很多人说VR全景展示是虚假的&#xff0c;比不上真实的景区触感&#xff0c;人文景区真的有必要做VR云游吗&#xff1f;我的答案是很有必要。 如果你认…

【vue3+pinia+Cookie】实现token登录及数据持久化

vue2后台登录项目,目前接触到的基本上都是vuex+本地存储或vuex+cookie或vuex+专门用于持久化vuex的库,如:vuex-persistedstate vuex默认情况下是在客户端内存中保存应用程序的状态,当页面刷新的时候,内存中的数据会丢失,导致vuex中的数据也会丢失。因为vuex的状态存储是临…

linux-删除KVM虚拟机

1.查看主机 #virsh list 2.关闭主机 #virsh shutdown 虚拟机名称 3.删除主机定义 #virsh undefine 虚拟机名称 4.删除KVM虚拟机文件 #find / -name 虚拟机名称 #rm -rf 虚拟机文件

Windows11安装Linux子系统,并实现服务自启动,局域网访问,磁盘挂载

Windows11安装Linux子系统&#xff0c;并实现服务自启动&#xff0c;局域网访问&#xff0c;磁盘挂载 一、准备工作二、安装Linux子系统(wsl2)三、为Linux子系统设置桥接网络检查wsl版本在 Hyper-V 管理器中创建虚拟交换机创建 WSL 配置文件启动wsl 四、设置Windows开机自启动L…

【考研复习】24王道数据结构课后习题代码|第3章栈与队列

文章目录 3.1 栈3.2 队列3.3 栈和队列的应用 3.1 栈 int symmetry(linklist L,int n){char s[n/2];lnode *pL->next;int i;for(i0;i<n/2;i){s[i]p->data;pp->next;}i--;if(n%21) pp->next;while(p&&s[i]p->data){i--;pp->next;}if(i-1) return 1;…

openssl安装问题合辑

1.openssl拖累nginx编译失败 问题描述&#xff1a; 因为漏洞原因&#xff0c;升级openssl之后需要重新编译nginx&#xff0c;进行了以下步骤&#xff1a; config没问题&#xff0c;但是make一直报错 初步判断是openssl安装有问题&#xff0c;原因不明&#xff0c;重装了opens…

【ARM Cache 系列文章 9 -- ARM big.LITTLE技术】

文章目录 big.LITTLE 技术背景big.LITTLE 技术详解big.LITTLE 硬件要求 big.LITTLE 软件模型CPU MigrationGlobal Task SchedulingGlobal Task Scheduling比CPU Migration的优势 转自&#xff1a;https://zhuanlan.zhihu.com/p/630981648 如有侵权&#xff0c;请联系删除 big.L…

Codeforces Round 889 (Div. 2)C题题解

文章目录 [Dual (Hard Version)](https://codeforces.com/contest/1855/problem/C2)问题建模问题分析1.按元素值分类讨论&#xff0c;正负不同时存在时2.若正负同时存在时代码 Dual (Hard Version) 问题建模 给定n个数&#xff0c;n不超过20&#xff0c;且每个数ai&#xff0c…

MachineLearningWu_14/P65-P69_Multiclass

x.1 Multiclass多分类问题 对于分类问题&#xff0c;往往指的是二分类问题&#xff0c;而对于二分类的decision boundary较为简单&#xff0c;而实际生活中会有很多问题是多分类问题&#xff0c;例如MNIST手写数字识别&#xff0c; 从特征空间上来看&#xff0c;二分类和多分类…

【C++】开源:ncurses终端TUI文本界面库

&#x1f60f;★,:.☆(&#xffe3;▽&#xffe3;)/$:.★ &#x1f60f; 这篇文章主要介绍ncurses终端文本界面库。 无专精则不能成&#xff0c;无涉猎则不能通。——梁启超 欢迎来到我的博客&#xff0c;一起学习&#xff0c;共同进步。 喜欢的朋友可以关注一下&#xff0c;下…

OpenCV基础知识4 — 绘制图形

前言&#xff1a;Hello大家好&#xff0c;我是小哥谈。Opencv提供了许多用于绘制图形的方法&#xff0c;包括绘制线段的line()方法、绘制矩形的retangle()方法、绘制圆形的circle()方法、绘制多边形的polylines()方法和绘制文字的putText()方法。本节课将依次对上述各个方法进行…

【JPCS出版】第五届能源、电力与电网国际学术会议(ICEPG 2023)

第五届能源、电力与电网国际学术会议&#xff08;ICEPG 2023&#xff09; 2023 5th International Conference on Energy, Power and Grid 最近几年&#xff0c;不少代表委员把目光投向能源电力领域&#xff0c;对促进新能源发电产业健康发展、电力绿色低碳发展&#xff0c;提…

【动态内存管理助力程序优化与性能飞升】

本章重点 为什么存在动态内存分配 动态内存函数的介绍 malloc free calloc realloc 常见的动态内存错误 几个经典的笔试题 柔性数组 1. 为什么存在动态内存分配 我们已经掌握的内存开辟方式有&#xff1a; int val 20;//在栈空间上开辟四个字节 char arr[10] {0};//在栈…

R语言中的函数24:Combinat:combn(), permn()

介绍 combinat中的combn()和permn()函数可以得到所有的排列组合的情况 combn()函数 combn(x, m, funNULL, simplifyTRUE, …)x – 组合的向量源m – 要取的元素的数量fun – 应用于每个组合的函数(可能为空)simplify – 逻辑的&#xff0c;如果是FALSE&#xff0c;返回一个列…

计算机视觉的应用9-视觉领域中的61个经典数据集【大集合】的应用与实战

大家好,我是微学AI,今天给大家介绍一下计算机视觉的应用9-视觉领域中的61个经典数据集【大集合】的应用与实战,我们都知道计算机视觉是一门研究如何使计算机能够理解和解释数字图像或视频的技术和方法。在计算机视觉领域中,数据集是非常重要的资源,它们可以用于训练和评估…

C++(Qt)软件调试---将调试工具安装到AeDebug(11)

C(Qt)软件调试—将调试工具安装到AeDebug&#xff08;11&#xff09; 文章目录 C(Qt)软件调试---将调试工具安装到AeDebug&#xff08;11&#xff09;1、前言1.1 使用的调试工具 2、调试器安装1.1 WinDbg1.2 procdump1.3 DrMinGW1.4 vsjitdebugger 更多精彩内容&#x1f449;个…

C++学习| VS配置FFTW3以及一维傅里叶变换的使用

前言&#xff1a;最近要用C对信号进行一维傅里叶变换&#xff0c;但是对傅里叶变换的内容有些遗忘了&#xff0c;同时自己对FFTW使用也不太了解&#xff0c;所以写下此篇方便以后回顾。 VS项目配置FFTW3 FFTW ( the Faster Fourier Transform in the West) 是一个快速计算离散…

STM32 F103C8T6学习笔记2:GPIO的认识—GPIO的基本输入输出—点亮一个LED

今日继续学习使用 STM32 F103C8T6开发板 点亮一个LED灯&#xff0c;文章提供源码&#xff0c;测试工程&#xff0c;实验效果图&#xff0c;希望我的归纳总结会对大家有帮助~ 目录 GPIO的认识与分类 &#xff1a; 引脚安排整理&#xff1a; 定时器的引脚例举&#xff1a; …