Giter Club home page Giter Club logo

html5-note's Introduction

HTML5-note

HTML是超文本,不是编程语言

1、基础标签

<title>Title</title> Mia

声明

声明代表html5版本!

所有数据都要包含在其中

head

定义基础信息,编码格式如UTF-8,标题,文字显示形式(如en代表英文) <title></title>

2.标签(标签的使用是成对出现的)

《b》定义加粗 《big》定义大号字体 《small》小号 small</small?
《em》定义着重文字 《i》斜体 《strong》定义加重语气 strong
《sub》下标 MybestFriend
《sup》上标 MybestFriend
《ins》定义插入字,文字下面是有一个下划线 ins
《del》定义删除字 delet

HTML元素指的是从开始标签到结束标签所有的代码 1.h1:align对齐方式

title_h1

title_h1

title_h1

title_h1

title_h1
title_h1
代表了从大到小的六个字号title

标题居右(center) 2.body:bgcolor背景颜色(backgroung设置背景图片) 3.P标签——一般代表一个段落

hello

4.超链接 a标签,target指定在哪里打开链接 Mia的家园 也可以打开本地!:打开本地news Mia的家园(blank:在新标签中打开,self等等) 5.图片标签 6.换行标签
注意这个br后面加不加/是都可以的 这个表示 空元素在开始标签中进行关闭(空元素是没有属性的) 大多数的HTML元素是可以嵌套的如

大多数的HTML元素可拥有属性

通用属性: class:规定元素的类名 <h2 class=“h2id">title_h1

id:规定元素唯一ID

style:规定元素的样式(如CSS样式) <style></style> title:规定元素的额外信息,设置当前就是那个tab标签上的信息

HTML样式

html5-note's People

Contributors

mia2804 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.