html

<html>

<head>

</head>

<body bgcolor = "#ffooff">//设置网页背景颜色

<img src = "图片名">

alt 鼠标放在图片上时显示的文本

指定宽度和高度,这样页面在加载时就会先将位置占上

</img>

<font color="#ffooff">//文字设置

aaaa

</font>

</body>

</html>

 

 

<title></title>

    <style type="text/css">

   

    </style>

    <script type ="text/javascript">

        alert(new Date().toLocaleDateString());

    </script>

 

 

注释符号

<!-- 欢迎使用 ASP.NET!-->

 

打印信息的语句和messagebox差不多

alert(new Date().toLocaleDateString());

 

<br/>  回车语句

<p> //分段标签  前后空白比较大

文字

</p>

 

<center>xxxx</center> 居中

 

h标签

只有<h1>到<h6>

 

<b>xxx</b>粗体

 

 

<font color = "#ff00ff  size = "20"">xxxx</font>

 

 

超链接 <a herf="www.xxx.com">xxxx</a>

嵌套图片 <a href="www.xxx.xxx"><img src = "xxx"></a>

 

<a> target属性设置为_blank超链接在新窗口中打开

<a name="Last">这是最后</a>

页内跳转,跳转到超链接部分<a href="#Last">转到平台</a>

 

 

HTML不把“  ”当成空格,因为HTML中经常有缩进,如果把缩进空格显示出来排版麻烦

 

HTML中要显示空格使用#nbsp;

HTML中要显示 < 使用&lt;

HTML中要显示 > 使用&gt;

 

 

 

 

一般文字中可以使用

<pre>

文字

</pre>

 

无序的列表unordered list

<ul><li>xxx</li><li>xxx</li><li>xxx</li></ul>

有序的列表

<ol></ol>

 

 

表格标签

<table border ="1"边框><tr><td></td></tr></table>

tr创建行

td创建列

 

表头用thread表示,外观没变化<thread><tr><td></td></tr></thread>

<tr>属性 align 水平对齐 rowspan colspan 单元格合并

 

 

 

 

 

表单

<form action="">

input标签

<input type="text"  size   value  maxlength  readonly  >//显示文本框

<input type="checkBox" checked>//复选框

<input type="submit">//提交按钮

<input type="button" value= "默认值">

file 文件选择框使用file formenctype属性值必须设置为multipart/form-data method属性值为post

hidden 隐藏字段

image 图片按钮

<input type="image" src="图片">

password 密码框

radio 单选按钮 name ="组名"

reset重置按钮

</form>

 

select标签

 

区分ComboBoxListBoxsize的属性值 >1就是ListBox

ComboBox

 

ListBox

<select multiple = "multiple" >表示使用的是ListBox- 默认显示4

 

 

 

<select  size="1"//设置显示的个数  multiple = "multiple" 可以多选>

         <option  value=1 编号>xxx</option>

         <option  selected 选中状态>xxx</option>

         <option value =-1> xxx </option>

</select>

 

<optgroup  lable ="各个类名">对选项进行分类>

         <option  value=1 编号>xxx</option>

         <option  selected 选中状态>xxx</option>

</optgroup>

 

textarea 多行文本标签

<textrea cols="列数" row="行数">

         默认内容

</textrea>

 

 

<label>文本标签

<hr />//分割线

label可以将获取焦点到它指定的对象上去

<label for="name">姓名:</label><input id="name" type="text" />

<label for="hunfou">婚否:</label><input id="hunfou" type="checkbox" />

 

 

fieldset: GroupBox效果,没有分组效果,只是隔开

<fieldset>

        <legend>xxxx</legend>//标题

        <input type="radio" name="x" />

        <input type="radio" name="x" />

        <input type="radio" name="x" />

        <input type="radio" name="x" />

    </fieldset>

 

css页面样式

<input type="text" value="1111"  style="background-color:Gray; border-bottom-color:Red;color:Yellow " />

style 显示风格

background-color 背景颜色

color字体颜色

border-bottom-color:边框颜色

<head>

    <title></title>

    <style type="text/css">

        input{background-color:red; border-bottom-color:Red;color:Yellow;}

                   div{background-color:Red;color:Yellow}

 

    </style>

</head>

内连得方式将页面中所有的input显示的风格

 

 

文字使用div包含起来再设置风格

<div style="background-color:Red;color:Yellow">sdfasdfadfa</div>

 

将页面样式使用StyleSheet1css 文件单独放起来。

html文件中调用

<head>

    <title></title>

    <link type="text/css" rel="Stylesheet" href="StyleSheet1.css" />

</head>

 

 

span 将中间文字包含在一起,和前后的内容不分开

<span>xxxxxxxxsadasff</span>

div 将中间的文字包含在一起,和前后的内容分开,单独占一块

<div>xxxxxxx<input type="button" /></div>

 

css中的计量单位 px(像素)、30%(百分比)、em(相对单位)

 

borde-style默认是没有边框的,

 

cursor 鼠标在元素上时显示的光标图标

 

<div style="cursor:pointer;" >asdfasdf<u>sda   dsafasdf</u> sdf asdf adsf</div>

 

 

给文字加下划线

<div>dffasfdasd<u>fas sad</u>f a</div>

 

 

LI不显示圆点 LIST-STYLE-TYPE:none

 

修改整个网页的光标

<body style="cursor:url(光标路径)">

 

 

定义样式,选择样式

自己也可以在body中定义风格,会覆盖掉选择器的风格,优先级高一点

class选择器

<head>

    <title></title>

    <style type="text/css">

    .waring{background:yellow;}

    .highlight{font-size:xx-large;cursor:help;}

    </style>

</head>

<body>

         <!--class选择器-->

    <div class="waring">xxxx</div>

     <div class="highlight waring" style="background-color:black">xxxx</div>

      <div>xxxx</div>

       <div>xxxx</div>

        <div>xxxx</div>

         <div>xxxx</div>

</body>

 

 

 

标签+class选择器

<head>

    <title></title>

    <style type="text/css"> 

    input.accountno{text-align:right;color:Red;}

    label.accountno{font-style:italic;}

    </style>

</head>

<body>

                   <!--标签+class选择器-->

         <input class="accountno" type="text" value="1111111111" />

         <label class="accountno">aadssdsdfasdfa</label>

</body>

</html>

 

 

id选择器

<head>

    <title></title>

    <style type="text/css">

    #usrname

    {

        font-size:xx-large;   

    }

    </style>

</head>

<body>

         <!--id选择器-->

     <input id="usrname" type="text" value="xxxxx" />

</body>

</html>

 

 

 

关联选择器

<head>

    <title></title>

    <style type="text/css"> 

     p strong{background-color:Yellow;}

    </style>

</head>

<body>

         <strong>xxxx</strong>

<!--p标签中的strong标签中的内容显示特定的风格-->

         <p><strong>sdfasdfad</strong></p>

</body>

 

组合选择器

<head>

    <title></title>

    <style type="text/css">

<--h1h2input 使用风格-->

     H1,H2,input{background-color:Yellow;}

    </style>

</head>

<body>

         <h1>nihao</h1>

         <input type="text" value="xcvxc" />

</body>

 

 

伪选择器

超链接风格

在单独的css文件中

A:visited {text-decoration:none}

A:active {text-decoration:none}

A:link {text-decoration:none}

A:hover {text-decoration:underline}

 

 

<head>

    <title></title>

    <link type="text/css" rel="Stylesheet" herf="link.css" />

</head>

<body>

<a href="HTMLPage为页面.htm">aaaa</a>

<a href="HTMLPageyagnshi.htm">bbbb</a>

</body>

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
本项目是一个基于SpringBoot开发的华府便利店信息管理系统,使用了Vue和MySQL作为前端框架和数据库。该系统主要针对计算机相关专业的正在做毕设的学生和需要项目实战练习的Java学习者,包含项目源码、数据库脚本、项目说明等,有论文参考,可以直接作为毕设使用。 后台框架采用SpringBoot,数据库使用MySQL,开发环境为JDK、IDEA、Tomcat。项目经过严格调试,确保可以运行。如果基础还行,可以在代码基础之上进行改动以实现更多功能。 该系统的功能主要包括商品管理、订单管理、用户管理等模块。在商品管理模块中,可以添加、修改、删除商品信息;在订单管理模块中,可以查看订单详情、处理订单状态;在用户管理模块中,可以注册、登录、修改个人信息等。此外,系统还提供了数据统计功能,可以对销售数据进行统计和分析。 技术实现方面,前端采用Vue框架进行开发,后端使用SpringBoot框架搭建服务端应用。数据库采用MySQL进行数据存储和管理。整个系统通过前后端分离的方式实现,提高了系统的可维护性和可扩展性。同时,系统还采用了一些流行的技术和工具,如MyBatis、JPA等进行数据访问和操作,以及Maven进行项目管理和构建。 总之,本系统是一个基于SpringBoot开发的华府便利店信息管理系统,使用了Vue和MySQL作为前端框架和数据库。系统经过严格调试,确保可以运行。如果基础还行,可以在代码基础之上进行改动以实现更多功能。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值