關閉導覽列 Close Menu
數位文創
English
吳統雄
數位美學
電子書
數位視覺
優化網站
微電影
數位文創管理
大學青年網誌
研究目錄
教學課程頁
討論區目錄
站務與協助
☰
More
社群地圖
社群新聞
│吳統雄
履歷
研究
教學
服務
榮譽
│社科
第1類知識
第2類知識
第3類知識
研究方法
統計/多變項分析
投票行為與選舉預測
53237 選民結構
人類取用行為新典範
取用行為國際研究團隊
│資管
管理學‧經濟學
貨幣主義
數位貨幣‧投資行為
資訊系統開發
電子商務
網路教育
數位電視
產學合作
就業進修‧甄選必勝
│文創
數位美學/數位文創導論
數位出版/電子書
視覺設計
優化網站
數位視訊/微電影
數位文創管理
大學青年‧網路雜誌
│電音
統雄 數位音樂作品選
我,被禁唱的民歌手
數位音樂創作教學
統雄的音樂知識美學
歡迎聽歌.點歌.下載樂譜
│人文
公共評論
法律評論
社會評論
教育文化傳媒評論
科技科普評論
美語樂學
文學創作
萬象現代(NBA)
資訊社會
幽默人生
統雄樂水
超文件標註語言精華篇 

HTML Canon: A Quick Tip

Web Design Tools 網站/網群開發語言

工具篇介述各種網站和網路社群的開發工具,分為語言層次和軟體層次工具。語言層次工具通常又包括3類:HTML,CSS,DOM/Java。

最新發展中的是HTML 5 版,於2014年底完成 HTML 5.0,雖然已公佈新版命令與規範,但持續進化,在2016完成 HTML 5.1 「推薦版 Recommendation」,同時,已在 2017 年推出 HTML 5.2「試用版 Working Draft」與 HTML 5.2「解說版 Editor’s Draft」。 

在軟體層次的各種編輯器方面,當前為配合微軟教學上的優勢,本系列將講述微軟的網站開發軟體 Expression Web,並兼及前代的 SharePoint Designer 與 FrontPage。

HTML 5 的發展與未來 HTML 5 的發展與未來


標註語言:功能命令 HTML's Functional Tags

HTML (Hyper Text Markup Language)為超文字標註語言,其加強延伸功能版為 xHTML ,但應用上常合併以 HTML 表示。

HTML, xHTML 的用途為網頁的功能指令,其中的標註 (Markup),即表示以〈標籤〉的形式應用。

而通常以〈標籤〉〈/標籤〉的成對的形式出現,也有單獨使用的〈標籤/〉。其中的 / ,都表示結束符號。

最常用的〈標籤〉包括以下例子:

<p>段落</p>

<h1>標題1</h1>

<a>超連結</a>

斷行<br/>

還有其他的標註語言,如:xml, shml…等,但網頁設計上仍以 HTML, xHTML應用最廣。

〈標籤〉的3類元素〈標籤〉的 4 類元素

〈標籤〉命令的對象又分為 4 類元素:區域元素標籤、行內元素標籤,群體標籤和 HTML5 新訂的語義元素。

HTML Block Elements 區域元素標籤

Most HTML elements are defined as block level elements or as inline elements.

Block level elements normally start (and end) with a new line when displayed in a browser.

Examples: <h1>, <p>, <ul>, <table>

HTML Inline Elements 行內元素標籤

Inline elements are normally displayed without starting a new line.

Examples: <b>, <td>, <a>, <img>

HTML Grouping Tags 群體標籤

Tag Description
<div> Defines a section in a document (block-level)
<span> Defines a section in a document (inline)

The HTML <div> Element

The HTML <div> element is a block level element that can be used as a container for grouping other HTML elements.

The <div> element has no special meaning. Except that, because it is a block level element, the browser will display a line break before and after it.

When used together with CSS, the <div> element can be used to set style attributes to large blocks of content.

Another common use of the <div> element, is for document layout. It replaces the "old way" of defining layout using tables. Using tables is not the correct use of the <table> element. The purpose of the <table> element is to display tabular data.

The HTML <span> Element

The HTML <span> element is an inline element that can be used as a container for text.

The <span> element has no special meaning.

When used together with CSS, the <span> element can be used to set style attributes to parts of the text. 

New Semantic Elements in HTML5 語義元素

語義元素是 HTML5 新訂的標籤類別,將在「網頁最新語言HTML5簡介」中再整合HTML 5 技術與思想的發展,一併介述。

TxAdvancedW3C: Full language  W3SchoolsW3Schools


程式碼介面精華篇 An introduction to the "Code View"

程式碼介面可以看出網頁結構與對網頁行為的控制。

網頁結構

網頁結構分作:宣告、協定、頁頭、內容。

<!DOCTYPE>

<HTML>

<head>

</head> 

<body> 

</body>

</HTML>

 

<!DOCTYPE>宣告文件版本與類型

以 <!DOCTYPE>宣告文件版本與類型。

The purpose of a DTD (Document Type Definition) is to define the legal building blocks of an XML document. 

HTML5

The current Html5 is:

<!DOCTYPE html> 

HTML4

SP will start with DTD (HTML <!DOCTYPE> Declaration) such as:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xHTML1/DTD/xHTML1-transitional.dtd">

Then, it declares the version of the HTML, the xHTML is:
<HTML xmlns="http://www.w3.org/1999/xHTML">

<head>常用設定

<head>

<meta charset="utf-8">

<title></title>
<meta name="keywords" content=","/>
<meta name="description" content=""/>

 

<link rel="stylesheet" type="text/css" href="user.css" />

 

<script type="text/javascript">
</script>

</head> 

 

Meta Tags and Metadata

什麼是Meta Tag?

Tag 是標注語言的標注命令,Meta 直譯是「超」,大陸習慣譯「元」,真正的意義是「標注的標注」,用途不是一般作為網頁呈現的標注命令,而是對網頁描述、行為的標注。所以譯為「統合標注」似可達意,正如 Meta Analysis的用法。

Meta Tag 的位置是放在<head>…</head>之間。

3 大<head>命令

<head>內是設定對SEO 與網站管理影響深遠,但對一般使用者而言,實務需求應用就較少,常用的就是標題、摘要、關鍵字、字碼設定、重新導向等,其中多個是 Meta Tag。

一定要設定的就是:

<title></title>
<meta name="keywords" content=","/>
<meta name="description" content=""/>

<title></title>設定

網頁虛擬名稱:以區域語言、即中文設定。

index.htm 避免命名為「首頁」,必須個人化。

這是1頂 SEO 非常重要的「帽子」,Google 排行榜差異可能在百萬頁以上。

<meta name="keywords" content=","/>設定

網頁內容最重要的(約5個)關鍵字。

<meta name="description" content=""/>設定

網頁內容簡介,約80字。

The META tag provides metadata such as a document's keywords, description, and author. Any number of META elements may be contained in the HEAD of a document.

META's NAME attribute provides a property name while the CONTENT attribute gives the corresponding value. The CONTENT attribute value may contain text and entities, but it may not contain HTML tags.

The HTTP-EQUIV attribute may be used in place of the NAME attribute to indicate that the property should be treated as (equivalent) an HTTP header.

The optional SCHEME attribute gives the format of the property value. For example, a date property may require SCHEME="Month-Day-Year" to disambiguate the date from other formats such as SCHEME="Day-Month-Year".

3 <head>作者資訊命令

如果作者是多產作家,則可加設作者資訊的3個設定:

<meta name="Author" content=""/>
<link rev="made" href="mailto:"/>
<link rev="made" href="http://"/>

<meta name="author" content=""/>設定

作者姓名,如:

<meta name="author" content="吳統雄 Sean TX Wu"/>

<link rev="made" href="mailto:"/>設定

作者電子郵件,如:

<link rev="made" href="mailto:txwu@ntu.edu.tw"/>

其中的 rev=,表示正相關。

<link rev="made" href="http://"/>設定

作者網站,如:

<link rev="made" href="http://tx.liberal.ntu.edu.tw/"/>

程式碼介面 進階設定

可參考更多資料如以下連結。

More Info

Html Syntax HTML Syntax

Index of HTML Elements.

Index of HTML Attributes. 


英文大小寫轉換器英文大小寫轉換器


Cascading Style Sheets, CSS網頁最新語言HTML5簡介

Cascading Style Sheets, CSSCascading Style Sheets, CSS: Presentation

簡捷建站程序簡捷建站程序

回頁首 Up to page head 至相關主題 Go to related pages
上一頁 Back to previous page 回頁首 Up to page head 下一頁 Go to nex page
請點這裡看所有留言分類 Please click here to view categories of comments
同類別內相關主題

上層主題
Web: 什麼是Web?Web虛擬世界的實體環境與虛擬環境 Web: Fundamentals
IIS: 什麼是 IIS?網站部署與IIS基礎應用 IIS: Fundamentals
Web的設計與管理模式 Web Design and Management Models
網路內容的製作與呈現類型 Internet Contents Presentation Types
Web Design Tools 網站開發工具
How to Expression Web/SharePoint Designer 微軟網站開發軟體應用快訣與其機巧
A Quick Canon for Expression Web 網站設計:Expression Web 簡捷建站功法
A Quick Canon for SharePoint 網站設計:SharePoint 簡捷建站功法
How to Html 超文件標註語言的結構、功能、應用快訣與其機巧
網頁語言 HTML5 簡介 HTML5: An Introduction
Web Analysis Framework and Its Formation Elements 網站/網群創作分析架構與建構元素
Web Design: Community Structure 網群結構
Website Structure_Navigation Design/ 網站虛擬結構:Extension Web 導覽設計
Website Structure_Navigation Design/ 網站虛擬結構:SharePoint 導覽設計
Web Design: Website Structure_Folders Design/網站實體結構:資料夾設計
Basics and Borders Method of Web Page Layout 網頁平面設計基礎與邊框法
Table Method of Web Page Layout 網頁平面設計表格法
Frames Method of Web Page Layout 網頁平面設計框架法
CSS Method of Web Page Layout 網頁平面設計CSS法
Web Design: Context- Presentation 意涵-文字視覺設計:字碼‧字型‧字體與字的性格
Web Design: Context- Presentation 意涵-文字視覺設計:字級‧字大小‧字重要性
Web Design: Context- Presentation 意涵-文字視覺設計:其他字特徵的呈現與配樣式
Web Design: Context- CSS 網站/網頁設計:意涵/文字-什麼是CSS
Web Design: Context- CSS Practice 網站/網頁設計:意涵/文字-CSS 實作
CSS Practice Advanced 層疊樣式表 CSS 進階實作_網站/網頁設計:意涵/文字
Web Design: Theme 網站布景主題設計
布景主題個人化 Personalized Theme
Web Design: Blocks- Pictures 網站/網頁設計:圖文框-圖片/影象處理
Web Design: Blocks- Tables 網站/網頁設計:圖文框-表格多元應用
Web Design: Blocks- Tables 網站/網頁設計:圖文框-表格與邊框設計
Web Design: Blocks- Tables 網站/網頁設計:圖文框-表格進階應用
Web Design: Blocks- Objects 網站/網頁設計:圖文框-非圖表物件
Webpage Layers Design 圖文層設計‧網頁圖層應用
Web Design: Automations-Links 網站/網頁設計:自動化與互動-超連結與導覽
Various Hyperlinks_Automations and Interactivity 各種超連結_自動化與互動
Navigation Bar Design 導覽列設計/微軟網路機器人 Webbot 法
Navigation Bar Design 導覽列設計/互動式按鈕設計法
Navigation Bar Design 導覽列設計/自訂 Java 法
Navigation Bar Design 導覽列設計/Html5 CSS 法
Navigation Bar Design 導覽列設計/下拉選單與樹狀導覽法
Navigation Bar Design 導覽列設計/雙導覽列_多導覽列法
Navigation Bar Design 導覽列設計/固定位置導覽列法
Information Map Design_Web Design 資訊地圖設計
Web Design: Automations-Webbot 網站/網頁設計:自動化與互動-網站機器人
Web Design: Automations- Advanced 網站/網頁設計:自動化與互動-雲端元件
Web Design: Multimedia 網站/網頁設計:多媒體影音應用
Web Design: Multimedia 網站/網頁設計:網路音訊與網路收音機設計
Web Design: Multimedia 網站/網頁設計:嵌入影音播放器標籤
網頁內嵌多媒體當機‧整體優解 QuickTime Plug-ins 7.7.4 has crashed
Web Design: Multimedia 網站/網頁設計:播放清單檔設計
網頁視訊與媒體播放器
在網頁插入微軟視窗媒體播放器
Insert Adobe Flash Player 插入Adobe Flash 播放器
Embed YouTube Player and iframe Tag 嵌入YouTube播放器與遠端影音之標籤
HTML5 Video: A Morning Glare Battlefield/ HTML5 媒體播放器:旭光戰場
Video and Media Player 播放器進階與視訊小工具
Web Design: Dynamic Templates 網站動態範本設計
Web Design: Dynamic Templates 網站動態範本應用
目錄管理與遠端編輯


內容網站:提供與分享各種知識、資訊、作品。互動群組:社員可以討論、展示、交流、企畫、分工、管理、投票決策。合作群組:Web2.0的民主自治精神,社員可以參與決定群組的內容與表現形式。

吳統雄的音樂-Sean TX Wu's Music  笑話中學美語-Humor and American English Learning   私人來信-Write a private mail to Sean TX Wu  留言與討論 Leave Comments/ Forum 吳統雄的相簿-Sean TX Wu's Album

只在「統雄社群」內查詢以下主題 Search in TXCommunity

統雄網群的Google排行本站Google排行榜‧全球冠軍