HTML5 Basic Concepts

1. 关于编程习惯。 在查看网页源代码时(推荐firefox配置的firebug),良好的编程习惯可以让我们对代码结构有一个更好的了解,在读懂别人的代码或者debug的时候更能找到问题所在。

<!DOCTYPE html>
<html> //sheng

<head>
<meta charset = "UTF-8">
<title>HelloWorld!</title>
<script>...</script>
...
</head>

<body>
...
</body>

<html>

2.basic expressions

#contentEditable:全局属性,允许用户编辑元素里面的内容

<textarea contentEditable=true></contentEditable>

#spellcheck:针对type=text和textarea这两个文本输入框的一个新属性,对文本内容进行拼写和语法检查

<textarea spellcheck=true></contentEditable>

#article:页面中独立于其它元素存在的内容,比如报纸中的一篇文章,一篇论坛帖子等等,可以用header表示标题,footer表示脚注,section表示分段

<body>
<article>
    <header>
        <h1>宫崎骏</h1>
        <p>发表日期
            <time pubdate datetime="09/10/2014">09/10/2014</time>
        </p>
    </header>
    <p>我最喜欢的漫画家</p></p>
    <section>
        <h3>Top1</h3>
        <p>天空之城</p>
    </section>
    <section>
        <h3>Top2</h3>
        <p>千与千寻</p>
    </section>
</article>
</body>

#nav:页面导航,可链接

<body>
<h1>宫崎骏</h1>
<nav>
	<ul>
		<li><a href="#">天空之城</a></li>
		<li><a href="#">千与千寻</a></li>
	</ul>
</nav>		

</body>
时间: 2024-10-08 06:00:59

HTML5 Basic Concepts的相关文章

Introduction and Basic concepts

1 Network Edge The device such as computers and mobiles connect to the Internet. So they are referred as end systems(who run the application programs) sitting at the edge of the Internet. And we use host and end system interchangeably, that is host=e

Pattern Discovery Basic Concepts

Pattern Discovery Basic Concepts @(Pattern Discovery in Data Mining)[Pattern Discovery] 本文介绍了基本的模式挖掘的概念 Pattern: A set of items, subsequences, or substructures that occur frequently together (or strongly correlated) in a data set. Motivation to do pa

Basic Concepts of Block Media Recovery

Basic Concepts of Block Media Recovery Whenever block corruption has been automatically detected, you can perform block media recovery manually with the RECOVER ... BLOCK command. By default, RMAN first searches for good blocks in the real-time query

In-memory Computing with SAP HANA读书笔记 - 第一章:Basic concepts of in-memory

本文为In-memory Computing with SAP HANA on Lenovo X6 Systems第一章Basic concepts of in-memory computing的读书笔记. 作为基础概念,本章非常重要.此Redbook讲得浅显易懂,配图也容易理解.唯一需要深读是DL ACM的那篇论文,后续我会再补充. "卑之,毋甚高论,令今可行也", 本章正符合汉文帝对于张释之的要求. Basic concepts of in-memory computing In-

Basic Concepts 基本概念(二)

Basic Concepts There are a few concepts that are core to Elasticsearch. Understanding these concepts from the outset will tremendously help ease the learning process. 有一些概念是Elasticsearch的核心.从一开始就理解这些概念将极大地帮助简化学习过程. Near Realtime (NRT) Elasticsearch i

Nginx Tutorial #1: Basic Concepts(转)

add by zhj: 文章写的很好,适合初学者 原文:https://www.netguru.com/codestories/nginx-tutorial-basics-concepts Introduction Hello! Sharing is caring, so we'd love to share another piece of knowledge with you. We prepared a three-part nginx tutorial. If you already k

[Network]Introduction and Basic concepts

[这个系列是复习计算机网路的知识. 因为立即要申请出国了,所以在写这个系列的博客时大部分使用英文. 尽管是英文.但绝大部分内容都是我自己的感受和理解,供大家一起学习和讨论] 1 Network Edge The device such as computers and mobiles connect to the Internet. So they are referred as end systems(who run the application programs) sitting at t

(C/C++) Interview in English - Basic concepts.

Question Key words Anwser A assignment operator abstract class It is a class that has one or more pure virtual functions. assignment & initialization constructed -> change value ,Same time Assignment changes the value of the object that has already

Basic Concepts in OS X Operation System(OSX系统的一些基本概念),准确地说是mach内核的一些基本概念

TasksA task is a logical representation of an execution environment. Tasks are usedin order to divide system resources between each running program. Each taskhas its own virtual address space and privilege level. Each task contains one ormore threads