My first web page

What this is

A simple page put together using HTML. I said a simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML.

Why this is

  • To learn HTML
  • To show off
    1. To my boss
    2. To my friends
    3. To my cat
    4. To the little talking duck in my brain
  • Because I have fallen in love with my computer and want to give her some HTML loving.

Where to find the tutorial

Some random table

Row 1, cell 1 Row 1, cell 2 Row 1, cell 3
Row 2, cell 1 Row 2, cell 2 Row 2, cell 3
Row 3, cell 1 Row 3, cell 2 Row 3, cell 3
Row 4, cell 1 Row 4, cell 2 Row 4, cell 3

Some random form

Note: It looks the part, but won't do a damned thing.

//上述内容完全copy自html dog.

Name:

Comments:

Your comments

Are you:

Male

Female

An hermaphrodite

Asexual

//上述内容完全copy自html dog.

  1. <!DOCTYPE html>
  2.  
  3. <html>
  4.  
  5. <head>
  6.  
  7. <title>My first web page</title>
  8.  
  9. <!-- This is a comment, by the way -->
  10. <style type="text/css">
  11. body {
  12. font-family: arial, helvetica, sans-serif;
  13. font-size: 14px;
  14. color: black;
  15. background-color: #ffc;
  16. margin: 20px;
  17. padding: 0;
  18. }
  19. /* This is a comment, by the way */
  20.  
  21. p {
  22. line-height: 21px;
  23. }
  24.  
  25. h1 {
  26. color: #ffc;
  27. background-color: #900;
  28. font-size: 2em;
  29. margin: 0;
  30. margin-bottom: 7px;
  31. padding: 4px;
  32. font-style: italic;
  33. text-align: center;
  34. letter-spacing: 0.5em;
  35. border-bottom-style: solid;
  36. border-bottom-width: 0.5em;
  37. border-bottom-color: #c00;
  38. }
  39.  
  40. h2 {
  41. color: white;
  42. background-color: #090;
  43. font-size: 1.5em;
  44. margin: 0;
  45. padding: 2px;
  46. padding-left: 14px;
  47. }
  48.  
  49. h3 {
  50. color: #999;
  51. font-size: 1.25em;
  52. }
  53.  
  54. img {
  55. border-style: dashed;
  56. border-width: 2px;
  57. border-color: #ccc;
  58. }
  59.  
  60. a {
  61. text-decoration: none;
  62. }
  63.  
  64. strong {
  65. font-style: italic;
  66. text-transform: uppercase;
  67. }
  68.  
  69. li {
  70. color: #900;
  71. font-style: italic;
  72. }
  73.  
  74. table {
  75. background-color: #ccc;
  76. }
  77. </style>
  78.  
  79. </head>
  80.  
  81. <body>
  82.  
  83. <h1>My first web page</h1>
  84.  
  85. <h2>What this is</h2>
  86. <p>A simple page put together using HTML. <em>I said a simple page put together using HTML.</em> A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML.</p>
  87.  
  88. <h2>Why this is</h2>
  89. <ul>
  90. <li>To learn HTML</li>
  91. <li>
  92. To show off
  93. <ol>
  94. <li>To my boss</li>
  95. <li>To my friends</li>
  96. <li>To my cat</li>
  97. <li>To the little talking duck in my brain</li>
  98. </ol>
  99. </li>
  100. <li>Because I have fallen in love with my computer and want to give her some HTML loving.</li>
  101. </ul>
  102.  
  103. <h2>Where to find the tutorial</h2>
  104. <p>
  105. <a href="http://www.htmldog.com"><img src="http://www.htmldog.com/badge1.gif" width="120" height="90" alt="HTML Dog"></a>
  106. </p>
  107.  
  108. <h3>Some random table</h3>
  109. <table>
  110. <tr>
  111. <td>Row 1, cell 1</td>
  112. <td>Row 1, cell 2</td>
  113. <td>Row 1, cell 3</td>
  114. </tr>
  115. <tr>
  116. <td>Row 2, cell 1</td>
  117. <td>Row 2, cell 2</td>
  118. <td>Row 2, cell 3</td>
  119. </tr>
  120. <tr>
  121. <td>Row 3, cell 1</td>
  122. <td>Row 3, cell 2</td>
  123. <td>Row 3, cell 3</td>
  124. </tr>
  125. <tr>
  126. <td>Row 4, cell 1</td>
  127. <td>Row 4, cell 2</td>
  128. <td>Row 4, cell 3</td>
  129. </tr>
  130. </table>
  131.  
  132. <h3>Some random form</h3>
  133. <p><strong>Note:</strong> It looks the part, but won't do a damned thing.</p>
  134.  
  135. <form action="somescript.php" method="post">
  136.  
  137. <p>Name:</p>
  138. <p><input name="name" value="Your name"></p>
  139.  
  140. <p>Comments: </p>
  141. <p><textarea rows="10" cols="20" name="comments">Your comments</textarea></p>
  142.  
  143. <p>Are you:</p>
  144. <p><input type="radio" name="areyou" value="male"> Male</p>
  145. <p><input type="radio" name="areyou" value="female"> Female</p>
  146. <p><input type="radio" name="areyou" value="hermaphrodite"> An hermaphrodite</p>
  147. <p><input type="radio" name="areyou" value="asexual" checked> Asexual</p>
  148.  
  149. <p><input type="submit"></p>
  150.  
  151. </form>
  152.  
  153. </body>
  154.  
  155. </html>

上述内容完全copy自html dog.

cnblogs_css样式保存

  1. body {
  2. font-family:'comic sans ms',sans-serif;
  3. background: #00FF00 url(http://images2015.cnblogs.com/blog/1042431/201706/1042431-20170627223321649-1166499380.png) no-repeat fixed top;
  4. }
  5.  
  6. #content {
  7. background: #FFF;
  8. box-shadow:0 10px 20px rgba(0,0,0,0.5);
  9. /*参数:水平阴影 竖直阴影 模糊距离!阴影的距离 阴影的颜色*/
  10. opacity:0.971;
  11. }
  12.  
  13. #top {
  14. display: none;
  15. }
  16.  
  17. #sub {
  18. visibility:hidden;
  19. }
  20.  
  21. #green_channel {
  22. display: none;
  23. }
  24.  
  25. #ad_t2 {
  26. display: none;
  27. }
  28.  
  29. #cnblogs_c1 {
  30. display: none;
  31. }
  32.  
  33. .itnews c_ad_block {
  34. display: none;
  35. }
  36.  
  37. #cnblogs_c2 {
  38. display: none;
  39. }

CSS 一个完整的例子的更多相关文章

  1. 《Java从入门到失业》第四章:类和对象(4.3):一个完整的例子带你深入类和对象

    4.3一个完整的例子带你深入类和对象 到此为止,我们基本掌握了类和对象的基础知识,并且还学会了String类的基本使用,下面我想用一个实际的小例子,逐步来讨论类和对象的一些其他知识点. 4.3.1需求 ...

  2. tensorflow实战系列(三)一个完整的例子

    #!/usr/bin/env python2# -*- coding: utf-8 -*-"""Created on Wed Jan 18 08:42:55 2017 @ ...

  3. SuperSocket学习笔记(一)-一个完整的例子

    一.什么是SuperSocket 以下是作者的介绍 执行以下命令,获取SuperSocket项目 $ git clone https://github.com/kerryjiang/SuperSock ...

  4. WCF学习笔记(1)-一个完整的例子

    一.开发环境 IDE:VS2013 OS:Win10 IIS:IIS 10 二.开发流程 1.项目结构 2.添加一个WCF程序 3.删除系统自动生成的两个文件IService1.cs和Service1 ...

  5. 和S5933比较起来,开发PLX9054比较不幸,可能是第一次开发PCI的缘故吧。因为,很多PCI的例子都是对S5933,就连微软出版的《Programming the Microsoft Windows Driver Model》都提供了一个完整的S5933的例子。 在这篇有关DDK的开发论文里。

    和S5933比较起来,开发PLX9054比较不幸,可能是第一次开发PCI的缘故吧.因为,很多PCI的例子都是对S5933,就连微软出版的<Programming the Microsoft Wi ...

  6. 【ABAP系列】SAP 一个完整的SAP的Abap例子(idoc,edi文件的相互转换)

    公众号:SAP Technical 本文作者:matinal 原文出处:http://www.cnblogs.com/SAPmatinal/ 原文链接:[ABAP系列]SAP 一个完整的SAP的Aba ...

  7. 一个完整的 Web 请求到底发生了什么

    阅读本文大概需要 7 分钟. 一.从输入一个网址开始 当我们在浏览器输入一个网址,然后按下回车,接下来浏览器显示了页面.网速好的话这之间可能就一秒,但在这一秒内到底发生了什么? 本文主要内容是试图记录 ...

  8. [转]一个完整的Installshield安装程序实例

    @import url("http://files.cnblogs.com/files/go-jzg/vs.css"); --> Installshield安装程序实例—基本 ...

  9. Python分布式爬虫打造搜索引擎完整版-基于Scrapy、Redis、elasticsearch和django打造一个完整的搜索引擎网站

    Python分布式爬虫打造搜索引擎 基于Scrapy.Redis.elasticsearch和django打造一个完整的搜索引擎网站 https://github.com/mtianyan/Artic ...

随机推荐

  1. Django 后台 无法显示文章标题

    我们会发现所有的文章都是叫 **object,这样肯定不好,比如我们要修改,如何知道要修改哪个呢? 我们修改一下 blog 中的models.py # coding:utf-8 from django ...

  2. hdu 4576(简单概率dp | 矩阵优化)

    艰难的一道题,体现出菜菜的我... 首先,先吐槽下. 这题到底出题人是怎么想的,用普通概率dp水过??? 那为什么我概率dp写的稍微烂点就一直tle?  感觉很不公平.大家算法都一致,因为我程序没有那 ...

  3. poj3243 Clever Y[扩展BSGS]

    Clever Y Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 8666   Accepted: 2155 Descript ...

  4. 【BZOJ3160】万径人踪灭 Manacher+FFT

    [BZOJ3160]万径人踪灭 Description Input Output Sample Input Sample Output HINT 题解:自己想出来1A,先撒花~(其实FFT部分挺裸的) ...

  5. 转载: Flex 布局教程

    demo:页面二等分 .flex-box { display: -webkit-flex; /* Safari */ display: flex; flex-direction: row; justi ...

  6. Oracle 数据库的组成(instance+database)

    Oracle服务器是一种对象关系数据库管理系统,它为信息管理提供开放.综合.集成的方法. Oracle服务器中有多种进进程.内存结构和文件: Oracle服务器由一个Oracle实例和一个Oracle ...

  7. Spring MVC http请求地址映射(三)

    Spring MVC框架通过扫描将带有@Controller的类中的@RequestMapping的方法进行映射,然后调用映射的方法处理请求,这个分发过程默认是由DispaterServlet处理的. ...

  8. XML 解析之 dom4j 解析器

    dom4j 的使用需要导入 jar 包, 包括: dom4j-1.6.1 和 jaxen-1.1-beta 步骤: 在项目目录下,"Folder" 创建一个 lib 文件夹 复制 ...

  9. Java 之反射机制

    java 语言的反射机制 - 在运行状态中,对于任意一个类 (class 文件),都能够知道这个类的所有属性和方法; - 能动态获取类中的信息,也可以理解为对类(字节码文件)的解剖 描述字节码文件的类 ...

  10. Java 集合框架查阅技巧

    如何记录每一个容器的结构和所属体系呢? List ArrayList LinkedList Set HashSet TreeSet 其中,后缀名就是该集合所属的体系,前缀名就是该集合的数据结构. 看到 ...