跳转到帖子
在手机APP中查看

一个更好的浏览方法。了解更多

OKCCN - XenForo & IPS Plugin Marketplace

主屏幕上的全屏APP,带有推送通知、徽章等。

在iOS和iPadOS上安装此APP
  1. 在Safari中轻敲分享图标
  2. 滚动菜单并轻敲添加到主屏幕
  3. 轻敲右上角的添加按钮。
在安卓上安装此APP
  1. 轻敲浏览器右上角的三个点菜单 (⋮) 。
  2. 轻敲添加到主屏幕安装APP
  3. 轻敲安装进行确认。
  • 选择语言

设计开发

  1. 教程 · 发帖人 Cavalry

    HTML Encoding (Character Sets) The HTML charset Attribute To display an HTML page correctly, a web browser must know which character set to use. The character set is specified in the <meta> tag: <meta charset="UTF-8"> The HTML specification encourages web developers to use the UTF-8 character set. UTF-8 covers almost all of the characters and symbols in the world! Learn More: Full UTF-8 Reference The ASCII Character Set ASCII was the first character encoding standard for the web. It defined 128 different latin characters that could be used on the internet: English letters (a-z and A-Z) Numbers (0-9) Some special characters: ! $ + - ( …

    • 0 篇回复
    • 21 次查看
  2. 教程 · 发帖人 Cavalry

    Using Emojis in HTML What are Emojis? Emojis look like images, but they are not. Emojis are letters (characters) from the UTF-8 (Unicode) character set: 😄 😍 💗 UTF-8 covers almost all of the characters and symbols in the world. Emoji Value 🗻&#128507;🗼&#128508;🗽&#128509;🗾&#128510;🗿&#128511;😀&#128512;😁&#128513;😂&#128514;😃&#128515;😄&#128516;😅&#128517; HTML Emojis Examples Smileys 😀 😂 😊 😎 😜 Hands ✌ ✊ ☝ ✋ 👌 People 👮 🧕 👦 💏 🤴 Office 📈 💻 📌 📆 📒 Places ⛺ 🌋 🗽 🗿 🏢 Transport 🚈 🚗 🚢 🚌 🚀 Animals 🐴 🐕 🐘 🐻 🐞 Food ☕ 🌭 🍞 🍩 🍣 Plants 🌴 🌳 🌼 🍁 🥑 Fruits 🍇 🍊 🍏 🥝 🥥 Sports ⚽ 🏆 🤿 🏋 ⛳ Ea…

    • 0 篇回复
    • 24 次查看
  3. 教程 · 发帖人 Cavalry

    HTML Symbols HTML Symbol Entities Symbols or letters that are not present on your keyboard can be added to HTML using entities. To add such symbols to an HTML page, you can use the entity name or the entity number (a decimal or a hexadecimal reference) for the symbol: Example Display the euro sign: <p>I will display &euro;</p> <p>I will display &#8364;</p> <p>I will display &#x20AC;</p> Will display as: I will display € I will display € I will display € Some HTML Symbol Entities Char Number Entity Description © &#169; &copy; COPYRIGHT ® &#174; &reg; REGISTERED TRADEMARK …

    • 0 篇回复
    • 19 次查看
  4. 教程 · 发帖人 Cavalry

    HTML Entities Reserved characters in HTML must be replaced with entities: < (less than) = &lt; > (greater than) = &gt; HTML Character Entities Some characters are reserved in HTML. If you use the less than (<) or greater than (>) signs in your HTML text, the browser might mix them with tags. Entity names or entity numbers can be used to display reserved HTML characters. Entity names look like this: &entity_name; Entity numbers look like this: &#entity_number; To display a less than sign (<) we must write: &lt; or &#60; Entity names are easier to remember than entity numbers. Non-breaking Space A commonly u…

    • 0 篇回复
    • 55 次查看
  5. 教程 · 发帖人 Cavalry

    HTML Style Guide Consistent, clean, and tidy HTML code makes it easier for others to read and understand your code. Here are some guidelines and tips for creating good HTML code. Always Declare Document Type Always declare the document type as the first line in your document. The correct document type for HTML is: <!DOCTYPE html> Use Lowercase Element Names HTML allows mixing uppercase and lowercase letters in element names. However, we recommend using lowercase element names, because: Mixing uppercase and lowercase names looks bad Developers normally use lowercase names Lowercase looks cleaner Lowercase is easier to type Good: <body&…

    • 0 篇回复
    • 18 次查看
  6. 教程 · 发帖人 Cavalry

    HTML Semantic Elements Semantic elements = elements with a meaning. What are Semantic Elements? A semantic element clearly describes its meaning to both the browser and the developer. Examples of non-semantic elements: <div> and <span> - Tells nothing about its content. Examples of semantic elements: <img>, <table>, and <article> - Clearly defines its content. Semantic Elements in HTML Many web sites contain HTML code like: <div id="nav"> <div class="header"> <div id="footer"> to indicate navigation, header, and footer. In HTML there are several semantic elements that can be used to define different parts of a we…

    • 0 篇回复
    • 17 次查看
  7. 讨论 · 发帖人 Cavalry

    这是一个全新的服务站点。启程!

    • 0 篇回复
    • 438 次查看
  8. 教程 · 发帖人 Cavalry

    HTML Responsive Web Design Responsive web design is about creating web pages that look good on all devices! A responsive web design will automatically adjust for different screen sizes and viewports. What is Responsive Web Design? Responsive Web Design is about using HTML and CSS to automatically resize, hide, shrink, or enlarge, a website, to make it look good on all devices (desktops, tablets, and phones): Try it Yourself » Setting The Viewport To create a responsive website, add the following <meta> tag to all your web pages: Example <meta name="viewport" content="width=device-width, initial-scale=1.0"> This will set the viewport of…

    • 0 篇回复
    • 25 次查看
  9. 教程 · 发帖人 Cavalry

    HTML Layout Elements and Techniques Websites often display content in multiple columns (like a magazine or a newspaper). Example Cities London Paris Tokyo London London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants. Standing on the River Thames, London has been a major settlement for two millennia, its history going back to its founding by the Romans, who named it Londinium. Footer HTML Layout Elements HTML has several semantic elements that define the different parts of a web page: <h…

    • 0 篇回复
    • 22 次查看
  10. 教程 · 发帖人 Cavalry

    HTML - The Head Element The HTML <head> element is a container for the following elements: <title>, <style>, <meta>, <link>, <script>, and <base>. The HTML <head> Element The <head> element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag. HTML metadata is data about the HTML document. Metadata is not displayed on the page. Metadata typically define the document title, character set, styles, scripts, and other meta information. The HTML <title> Element The <title> element defines the title of the document. The title must be text…

    • 0 篇回复
    • 23 次查看
  11. 教程 · 发帖人 Cavalry

    HTML File Paths A file path describes the location of a file in a web site's folder structure. File Path Examples PathDescription <img src="picture.jpg"> The "picture.jpg" file is located in the same folder as the current page <img src="images/picture.jpg"> The "picture.jpg" file is located in the images folder in the current folder <img src="/images/picture.jpg"> The "picture.jpg" file is located in the images folder at the root of the current web <img src="../picture.jpg"> The "picture.jpg" file is located in the folder one level up from the current folder HTML File Paths A file path describes the location of a file in a web site…

    • 0 篇回复
    • 23 次查看
  12. 教程 · 发帖人 Cavalry

    HTML JavaScript JavaScript makes HTML pages more dynamic and interactive. Example My First JavaScript Click me to display Date and Time The HTML <script> Tag The HTML <script> tag is used to define a client-side script (JavaScript). The <script> element either contains script statements, or it points to an external script file through the src attribute. Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content. To select an HTML element, JavaScript most often uses the document.getElementById() method. This JavaScript example writes "Hello JavaScript!" into an HTML element with id="demo": E…

    • 0 篇回复
    • 26 次查看
  13. 教程 · 发帖人 Cavalry

    HTML Iframes An HTML iframe is used to display a web page within a web page. HTML Iframe Syntax The HTML <iframe> tag specifies an inline frame. An inline frame is used to embed another document within the current HTML document. Syntax <iframe src="url" title="description"></iframe> Tip: It is a good practice to always include a title attribute for the <iframe>. This is used by screen readers to read out what the content of the iframe is. Iframe - Set Height and Width Use the height and width attributes to specify the size of the iframe. The height and width are specified in pixels by default: Example <iframe src="demo…

    • 0 篇回复
    • 32 次查看
  14. 教程 · 发帖人 Cavalry

    HTML Buttons Buttons let users interact with a web page. They can submit forms, run JavaScript, or trigger different actions when clicked. HTML Button The HTML <button> element defines a clickable button. By itself, the button does nothing until you add an action to it. Example <button>Click Me</button> Styling HTML Buttons Buttons are often styled with CSS: Example <button class="mytestbtn">Green Button</button> Disabled Buttons Use the disabled attribute to make a button unclickable: Example <button disabled>Disabled Button</button> Tip: Disabled buttons cannot be clicked and usually a…

    • 0 篇回复
    • 21 次查看
  15. 教程 · 发帖人 Cavalry

    HTML id Attribute The HTML id attribute is used to specify a unique id for an HTML element. You cannot have more than one element with the same id in an HTML document. The id Attribute The id attribute specifies a unique id for an HTML element. The value of the id attribute must be unique within the HTML document. The id attribute is used to point to a specific style declaration in a style sheet. It is also used by JavaScript to access and manipulate the element with the specific id. The syntax for id is: write a hash character (#), followed by an id name. Then, define the CSS properties within curly braces {}. In the following example we have an <h1&gt…

    • 0 篇回复
    • 22 次查看
  16. 教程 · 发帖人 Cavalry

    HTML class Attribute The HTML class attribute is used to specify a class for an HTML element. Multiple HTML elements can share the same class. The class Attribute The class attribute is often used to point to a class name in a style sheet. It can also be used by JavaScript to access and manipulate elements with the specific class name. In the following example we have three <div> elements with a class attribute with the value of "city". All of the three <div> elements will be styled equally according to the .city style definition in the head section: Example <!DOCTYPE html> <html> <head> <style> .city { backgroun…

    • 0 篇回复
    • 21 次查看
  17. 教程 · 发帖人 Cavalry

    HTML Div Element The <div> element is used as a container for other HTML elements. The <div> Element The <div> element is by default a block element, meaning that it takes all available width, and comes with line breaks before and after. Example A <div> element takes up all available width: Lorem Ipsum <div>I am a div</div> dolor sit amet. Result Lorem Ipsum I am a div dolor sit amet. The <div> element has no required attributes, but style, class and id are common. <div> as a container The <div> element is often used to group sections of a web page together. Example A <div>…

    • 0 篇回复
    • 25 次查看

帐户

导航

搜索

搜索

配置浏览器推送通知

Chrome (安卓)
  1. 轻敲地址栏旁的锁形图标。
  2. 轻敲权限 → 通知。
  3. 调整你的偏好。
Chrome (台式电脑)
  1. 点击地址栏中的挂锁图标。
  2. 选择网站设置。
  3. 找到通知选项并调整你的偏好。