一、HTML

1、标签<a href="http:www.baidu.com">This is a link </a>         <img src="w3cSchool.jpg" width="123" height="34" />   <!--Html元素指的是从Start tag 到 end tag的所有代码-->

2、eg、<html> <body> <p> This is a paragraph </p>  </body></html>

3、<h1 align="center" >对齐方式      <body bgcolor="yellow">背景颜色设置 ,  <table border="1">表格边框设置

4、<hr/>创建水平线 eg、 <p> This is a paragraph</p>    <hr/>    <p>This is a paragraph</p>    <br/>换行标记

5、<body style="background-color:yellow">    <h2 style="background-color:red"> This is a page<h2/>  <p style="background-color:green">This is a paragraph</p>

6、<h1 style="font-family: verdana">A heading</h1>      <p style="font-family:arial; color:red; font-size:20px;"> A paragraph</p>

7、<h1 style="text-align:center">This is a heading</h1 >      <p> WWF 的目标是:<q>构建人与自然和谐共存的世界。</q></p>   <!--引用-->

8、对于长的引用使用<blockquote cite="http://www.worldwildlife.org/who/index.html"> 五十年来,WWF一直致力于保护自然环境的未来</blockquote>

9、<address>  writen by Donald Duck <br\> Visit us at:   <br\>  </address>

10、键盘标签 <p><kbd> File |Open.......</kbd></p>   计算机代码标签<code>   var person={ firstname:"Bill", lastName::"Gates", age:50, eyeColor:"blue"}

11、定义数学变量标签   <p>  <var>E=mc<sup>2</sup></var></p>

12、外部样式表链接 <head><link rel=“stylesheet” type="text/css" href="mystyle.css"></head>   内部样式 <head>   <style type="text/css">  body{background-color:red}  p{margin-left:30px}</style> </head>  内联样式   <p  style=color: red; margin-left :30px">This is a paragraph</p>

13、链接<a href="url">link text</a>     使用Target属性可以定义文档在何处显示    <a href="www.w3cschool.com.cn/"  target="_blank">Visit W3cShool!</a>

14、图像标签 <img  src="url"/>   替换文本属性,  <img src="boat.gif"  alt="Big Boat"> 当浏览器无法加载图像时提示

15、表格单元格 <table  border="1"><tr><td> row1 ,cell1</td>   <td> row 1 ,cell 2</td>   </tr>     <tr> <td>  row 2, cell 1 </td> <td>row 2,cell2</td></tr>  </table>

16、表头标签<th>Heading</th>  <th>Another Heading</th>   如果表格是空的,则表格边框不显示,要添加占位符 <td>&nbsp;</td>

17、无序列表  <ul><li>Coffe</li>   <li>Milk</li></ul>  有序列表   <ol><li>Coffe</li>    <li>Milk</li></ol>自定义列表 <dl><dt>    </dt></dl>

HTML&javaSkcript&CSS&jQuery&ajax(二)的更多相关文章

  1. java-HTML&javaSkcript&CSS&jQuery&ajax

    CSS  伪装 1.<style>a;link{color:#000000} a:visited{color:#000000; a.:hover{color:#FF00FF} a:acti ...

  2. XSS-HTML&javaSkcript&CSS&jQuery&ajax

    1.设置不同的样式列表 <style> ul.a{list-style-tyrp:circle;}    ul.b{list-style-type:square;}   ul.c{list ...

  3. HTML&javaSkcript&CSS&jQuery&ajax(十)

    HTML 1.SVG直接嵌入HTML网页 ,SVG 是使用XML描述2D图像的语言,Canvas通过JavaScript来绘制2D <svg xmlns="http://www.w3. ...

  4. HTML&javaSkcript&CSS&jQuery&ajax(八)

    一. <!DOCTYPE html><html><head><meta charset="utf-8"><tiitle> ...

  5. HTML&javaSkcript&CSS&jQuery&ajax(七)

    ’一.HTML5 实例  <video width="430" controls>   <source src="mov_nnn.mp4" t ...

  6. HTML&javaSkcript&CSS&jQuery&ajax(五)

    一.Framset标签定义了每个框架中的HTML文档, 1. <framset cols="25%,75%"> <frame src="frame_a. ...

  7. HTML&javaSkcript&CSS&jQuery&ajax(四)

    一.HTML创建响应设计 Responsive Web Design 可以改变尺寸传递网页,对于平板和移动设备是必须的 1.<!DOCTYPE html><html lang=&qu ...

  8. HTML&javaSkcript&CSS&jQuery&ajax(三)

    一.HTML块元素 1.块级元素 Block level element ,内联元素 inline element , HTML<div>元素属于块级元素,他是组合其他HTML元素的容器, ...

  9. java-HTML&javaSkcript&CSS&jQuery&ajax( 八)

    一.JavaScript教程笔记 1.在web页面中一般使用JavaScript脚本语言,支持跨平台,跨浏览器,驱动网页,与用户交互.另外Node.js把JavaScript引入到了服务器端. Jav ...

随机推荐

  1. python中的私有变量

    class Test1: def f1(self): self.name ="张三" self.__age = 20 #使用名称变形实现私有变量 print(self.name) ...

  2. 【提示框】【计时事件】【cookie】

    1.提示框 1)警告框 <script>function disp_alert(){alert("我是警告框!!")}</script> 2)确认框 fun ...

  3. Jquery的一些常见用法

    谨以此文怀念我们大学的时光,Jquery3.4.0下载 https://code.jquery.com/jquery-3.4.0.min.js ⒈常用方法 $("#div1").h ...

  4. SpringSecurity基于数据库RBAC数据模型控制权限

    ⒈通用RBAC(Role - Based Access Control)数据模型 ⒉如何使用 1. package cn.coreqi.ssoserver.rbac; import org.sprin ...

  5. CentOS7开启防火墙及特定端口

    开启防火墙服务 以前为了方便,把防火墙都关闭了,因为现在项目都比较重要,害怕受到攻击,所以为了安全性,现在需要将防火墙开启,接下来介绍一下步骤. 1, 首先查看防火墙状态: firewall-cmd ...

  6. 查询tensorflow中的函数用法

    一下均在ubuntu环境下: (1)方法一,使用help()函数: 比如对于tf.placeholder(),在命令行中输入import tensorflow as tf , help(tf.plac ...

  7. Shell-求平均

    Compute the Average Given integers, compute their average correct to three decimal places. Input For ...

  8. HDFS退出安全模式

    运行Hadoop程序时,有时候会报以下错误: org.apache.hadoop.dfs.SafeModeException: Cannot delete /user/hadoop/input. Na ...

  9. Python 编程核心知识体系(REF)

    Python 编程核心知识体系: https://woaielf.github.io/2017/06/13/python3-all/ https://woaielf.github.io/page2/

  10. MySQL之路 ——1、安装跳坑

    最近几天准备写一个JavaWeb的简单登录,注册试下手:所谓”工欲善其事必先利其器“,然后数据库方面的话,考虑用MySQL.在安装MySQL过程中,碰到了一些问题(大同小异),记录在此,诸君共勉. 1 ...