最新消息:20210917 已从crifan.com换到crifan.org

[整理]HTML+CSS基础知识

CSS crifan 1610浏览 0评论

【CSS基础知识】

学习CSS布局

CSS – 没有布局

CSS – position

CSS – position例子

【CSS CSS3】

CSS3 – CSS | MDN

Class selectors – CSS | MDN

Type selectors – CSS | MDN

CSS 选择器演示 – 前端开发仓库

CSS | MDN

CSS入门教程 – Web开发者指南 | MDN

What is CSS – Web开发者指南 | MDN

【HTML基础知识】

Building Your First Web Page – Learn to Code HTML & CSS

HTML 简介 | 菜鸟教程

HTML 教程

HTML 简介

Learn to Code HTML & CSS

HTML 常用标签演示 – 前端开发仓库

HTML5中国产业联盟

HTML5

HTML5 – Web Technology For Developers | MDN

中文版:HTML5 – Web开发者指南 | MDN

-》总结了:HTML5的新增的语法,性能,设备使用等等内容

Web API 参考 – Web 技术参考 | MDN

HTML(超文本标记语言) | MDN

“HTML(超文本标记语言)元素通常分为块级元素或内联元素。块级元素占据其父级元素(容器)的全部空间,因而创造出一个”块”。这篇文章主要解释块级元素的含义。”

HTML 开发者指南 – Web开发者指南 | MDN

HTML 入门 – Web开发者指南 | MDN

[总结]

1.HTML 标签

HTML 标记标签通常被称为 HTML 标签 (HTML tag)。

左尖括号 + xxx + 右尖括号

比如:

<div>

<a>

HTML 标签是由尖括号包围的关键词,比如 <html>

HTML 标签通常是成对出现的,比如 <b> 和 </b>

标签对中的第一个标签是开始标签,第二个标签是结束标签

开始和结束标签也被称为开放标签和闭合标签

【DOM基础知识】

DOM | MDN

Document Object Model (DOM) – Web APIs | MDN

网页 <-> DOM <->(js)脚本

Element – Web APIs | MDN

Element.getElementsByClassName()

Returns a live HTMLCollection that contains all descendant of the current element that posses the list of classes given in parameter.

Element.getElementsByTagName()

Returns a live HTMLCollection containing all descendant elements, of a particular tag name, from the current element.

Element.getElementsByTagNameNS()

Returns a live HTMLCollection containing all descendant elements, of a particular tag name and namespace, from the current element.

转载请注明:在路上 » [整理]HTML+CSS基础知识

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
98 queries in 0.187 seconds, using 23.29MB memory