跳轉到內容

使用 Firefox/開發者

來自華夏公益教科書
章節: 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14

擴充套件開發

[編輯 | 編輯原始碼]

最全面的擴充套件開發網站是 Mozillazine 知識庫,可以 在這裡找到。其他有用的工具包括 Firefox 中包含的 DOM 檢查器 和 JavaScript 控制檯。

Firefox 特別適合開發者。它允許即使是最休閒的網頁開發者從他們訪問的大多數網站中提取有用的 HTML 技術,併為更高階的使用者提供許多其他功能。

原始碼檢視

[編輯 | 編輯原始碼]

也許最常用的開發功能是能夠突出顯示任何網站中的影像和文字,並從下拉選單中選擇檢視原始碼。當使用此功能時,Firefox 會顯示用於生成突出顯示內容的 HTML 原始碼。

例如,突出顯示上面的段落和節標題,右鍵單擊並選擇“檢視選擇原始碼”,將在新視窗中顯示以下內容

<p><a name="Source_viewing" id="Source_viewing"></a></p>
<h2>Source viewing</h2>
<p>Perhaps the most-used development feature is the ability to highlight images and text in any website, and choose "<i>View selection source</i>" from the drop-down menu. Doing this will bring up a pop-up window, with the HTML source that was used to generate the highlighted content.</p>

將此技術與良好的標記語言參考源(如 華夏公益教科書 HTML 程式設計)結合起來,將允許你從訪問的每個新網站中學習。

章節: 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14
華夏公益教科書