辛未日五行属什么| 土鳖是什么意思| mfr是什么意思| 内火旺是什么原因| 烧包是什么意思| 鸟飞到头上什么预兆| 武松打虎打的是什么虎| qcy是什么牌子| 婊子代表什么生肖| 子宫内膜薄是什么原因造成的| 眼皮黑是什么原因| 为什么会梦到前男友| 糖尿病的根源是什么| 豆五行属什么| 洋酒是什么酒| 感染乙肝病毒有什么症状| 产妇月子吃什么下奶多| 私处长痘痘是什么原因| 非分之想是什么意思| 为什么手脚老是出汗| 梦见自己流鼻血是什么预兆| 复方北豆根氨酚那敏片是什么药| 什么水果去湿气效果最好| 七七年属什么生肖| 脱发严重是什么原因| 灵魂伴侣是什么意思| 右眼睛总跳是什么原因| 诊查费是什么| mo是什么元素| 湿气太重了吃什么药| 什么品牌的书包质量好| 乳腺化疗期间吃什么| 决定的近义词是什么| 小产什么意思| 女人喝什么调节内分泌| 嫑怹是什么意思| 什么食物养胃| 气管痉挛是什么症状| 妇科检查清洁度二度是什么意思| 甲状腺回声不均匀什么意思| 瘿病是什么病| 高血压头晕吃什么药| 敷设是什么意思| 牛仔蓝是什么颜色| 什么什么多彩| 长脸适合什么短头发| 对公转账是什么意思| classic是什么牌子| 广西有什么特产| 未见明显胚芽是什么意思| 门客是什么意思| 什么化妆品好用哪个牌子的| 垂涎什么意思| 左旋肉碱是什么东西| 上头了是什么意思| 六十六大寿有什么讲究| 什么是聚酯纤维面料| 内在美是什么意思| 早期教育是什么专业| 蛇与什么属相相配最好| 胆黄素高是怎么回事有什么危害| 胎芽是什么| 江米是什么米| 糖耐量异常是什么意思| 头发硬适合什么发型| 十月二十八是什么星座| 堆肥是什么意思| domestic是什么意思| 外婆菜是什么| 版心是什么| 冷漠是什么意思| 暗物质和暗能量是什么| 缘定三生是什么意思| 白牡丹属于什么茶| 胃胀痛吃什么药| 胎儿肾积水是什么原因引起的| 鞭尸什么意思| 戒色有什么好处| 开柙出虎是什么意思| 总是拉稀大便不成形是什么原因| 音乐制作人是干什么的| 鸡是什么命| 男性尿血是什么原因导致的| 什么是高纤维食物| 篮子是什么意思| 死是什么感觉| 改姓氏需要什么手续| pp材质是什么| 婴儿八个月可以吃什么辅食| 梦见枕头是什么意思| 不要问为什么| 水字五行属什么| 阴茎长水泡是什么原因| 1980年是什么命| 鼠配什么生肖最好| 早上空腹干呕什么原因| 什么菜好吃| 眼睛有什么颜色| 去医院看肛门挂什么科| 吃什么水果能长高| 发烧头疼吃什么药| 挑染什么颜色好看| 手心经常出汗是什么原因| 血压高应该吃什么食物| 於是什么意思| cashmere是什么面料| 喝水呛咳是什么原因| 九天什么月| 古丽是什么意思| 死间计划到底是什么| 毛囊炎是什么引起的| 艾滋病早期有什么症状| 中指长痣代表什么| 甲状腺吃什么药好| 喝中药不能吃什么| 9月19是什么星座| 尿检隐血弱阳性是什么意思| 同比增长是什么意思| 奶奶的妹妹叫什么| 鹿角有什么功效和作用| 2018 年是什么年| 贪恋是什么意思| 木冉读什么| 血小板分布宽度偏低是什么意思| 桔色搭配什么颜色好看| 46岁属什么| 百合花什么颜色| 维生素d3和d2有什么区别| 喝什么去火| 手术后能吃什么| bliss是什么意思| 五脏六腑什么意思| 2005年属鸡的是什么命| 爱出汗什么原因| 下午四五点是什么时辰| 真丝和桑蚕丝有什么区别| 云南白药的保险子是起什么作用的| 香港脚是什么症状图片| 小孩爱流鼻血是什么原因| 精液是什么味道的| 纤维素纤维是什么面料| 霍金得了什么病| 什么是支气管扩张| 脚酸臭是什么原因| 什么是指标| hpv是什么疫苗| 什么小吃最火爆最赚钱| 精液为什么是苦的| siri什么意思| 胆红素是什么| 骞读什么字| 乙肝三抗体阳性是什么意思| dhc是什么牌子| 常州冬至吃什么| 做眉毛有什么危害| 翡翠和玉的区别是什么| 子宫彩超能检查出什么| 离婚证是什么颜色| 什么酒好喝| 连锁反应是什么意思| 月寸读什么| 喉咙痛鼻塞吃什么药| 鹞子是什么鸟| 什么时候买机票便宜| 鼻子上火吃什么药| 奔是什么生肖| 沙蒜是什么| 为什么青霉素要做皮试| 骨髓纤维化是什么病| 大便很黄是什么原因| 什么木材有香味| 尿隐血阳性什么意思| 脸上长扁平疣是什么原因引起的| 吃什么补脾| 别来无恙什么意思| 百字五行属什么| 怕冷的女人是什么原因| 不成功便成仁的仁是什么意思| 老鸹是什么鸟| 舌头有点麻是什么病的前兆| 金鱼沉底不动什么原因| 梦见坐牢是什么预兆| 女方起诉离婚需要什么证件| 大人积食吃什么药| 老是打嗝是什么原因| 悸动是什么意思| 什么叫惊喜| 一心一什么| En什么意思| 小孩检查微量元素挂什么科| 什么情况下需做肠镜| 雨打棺材是什么征兆| 蜘蛛属于什么类动物| 广州有什么美食| 福尔马林是什么| 歌帝梵巧克力什么档次| baumwolle是什么面料| 低血糖吃什么| 心脏不舒服吃什么药| 饭前吃药和饭后吃药有什么区别| 头不舒服去医院挂什么科| 牛肉炒什么好吃| 血压什么时间测量最准| 不想说话是什么原因| 臭虫怕什么| 世界上最大的生物是什么| 早早孕有什么征兆| 痧是什么| 什么叫做质量| 白俄罗斯和俄罗斯有什么区别| 制冰机不制冰是什么原因| 白狗子是什么意思| 狮子座和什么座最配对| 花骨朵是什么意思| 有且仅有什么意思| 梦到好多小蛇是什么意思| 月亮为什么是红色的| 1217是什么星座| 试管婴儿长方案是什么| 拉肚子吃什么食物好| 阳历10月是什么星座| 剥皮实草是什么意思| 小孩吃火龙果有什么好处| 头昏脑胀是什么原因| 狻猊是什么| 欧芹是什么| 手指脱皮是什么原因造成的| icu和ccu有什么区别| 海柳什么颜色最贵的| 女性风湿吃什么东西好| 次心念什么| 表哥的儿子叫什么| 慢性鼻炎用什么药| 甲沟炎挂什么科| 为什么科比叫黑曼巴| 尿酸高喝什么水最好| 做梦梦见别人怀孕是什么意思| 芸字五行属什么| 秋天有什么| 什么梨最好吃| 什么是跨境电商| 10月28是什么星座| 磷酸是什么| 国老是什么中药| 来月经前有什么症状| 女生吃什么可以丰胸| 梦见孩子哭是什么意思| dennis什么意思| 什么叫钙化| 为什么尿有点偏红色| 很棒是什么意思| 寡情是什么意思| 路由器什么牌子好| 5月19日什么星座| 胆结石不能吃什么东西| 嘈杂的意思是什么| 什么是生理盐水| arg是什么氨基酸| 什么都值得买| 瑞舒伐他汀钙片治什么病| 白术有什么作用| 乳房痒是什么原因| 苹果充电口叫什么| 金球奖什么时候颁发| 百度
MDN 2024 content updates title. A JavaScript logo, a pi mathematical symbol, an icon representing the web, and artwork of a smartphone.

Aerolínea china lanza vuelo directo con capital de Camboya Spanish.xinhuanet.com

Author avatarVadim Makeev9 minute read
百度 尤其是在汽车的前端,会使用多个角度和类型的摄像头,以便全面了解汽车驾驶的场景。

MDN Web Docs provides accurate and accessible resources for people getting started building for the web right through to professional developers. Our commitment includes maintenance of long-existing content and documenting features that are brand new to the web platform.

In 2024, the MDN content team chose some content areas to audit and update so they stay useful and relevant in an evolving web platform. We looked at topics that were popular but contained some outdated or incomplete material, and invested time in improvements, additions, and removing obsolete content.

This post recaps what we achieved in our content projects in 2024, highlights some of our top picks and recommended reading, and looks forward to what's next on MDN for 2025.

2024 MDN content areas

For 2024, we chose three technology categories that are popular, but had reader feedback that indicated they needed a refresh. We focused on HTTP, MathML, and web Manifests. From July to December 2024, the team worked through these areas to bring the quality up in a number of ways. Let's have a look at what changed in each section below.

MathML

MathML is an XML-based language for describing mathematical notation on the web. Similar to SVG, MathML can also be included in the HTML and rendered by the browser, no plugins or libraries are required.

n = 1 +
html
<math display="block">
  <munderover>
    <mo>∑</mo>
    <mrow>
      <mi>n</mi>
      <mo>=</mo>
      <mn>1</mn>
    </mrow>
    <mrow>
      <mo>+</mo>
      <mn>∞</mn>
    </mrow>
  </munderover>
</math>

Unlike the MathML Core specification, which often groups elements, MDN now features each MathML element on its page, with examples, usage notes, and BCD (browser-compat-data) now also updated. For example, you can read about <semantics>, <annotation> and <annotation-xml> elements and how they help to annotate MathML expressions.

Just like we're writing this blog post using Markdown instead of HTML, MathML is often generated by math processors using lightweight markup languages like LaTeX. To help content authors, all MathML examples now have annotations. For example, x2+yx^{2} + y can be written as x^{2} + y in LaTeX:

html
<math>
  <semantics>
    <mrow>
      <msup>
        <mi>x</mi>
        <mn>2</mn>
      </msup>
      <mo>+</mo>
      <mi>y</mi>
    </mrow>
    <!-- Annotated with LaTeX, a lightweight markup language. -->
    <annotation encoding="application/x-tex">x^{2} + y</annotation>
  </semantics>
</math>

This will also allow us to start using LaTeX for MathML in the future, making it easier for content authors to write and maintain examples. To fully appreciate the difference, you can compare the full MathML source code of some bigger examples, such as Deriving the Quadratic Formula and Proving the Pythagorean theorem, with their LaTeX equivalents.

MathML documentation on MDN now features accessibility information for all elements. For example, using <math> element for representing math content allows screen readers to read the formula, which makes MathML better for such cases than using images or other formats.

Additionally, all MathML features now have live examples, so you can see how they're rendered in your browser. And just like with other live examples on MDN, you can always click "Play" in the top right corner to play around with the code in a new tab.

Not only is MathML documented on MDN, but it's also used to describe different parts of the web platform. For example, Set.difference() JavaScript method, CSS transformation functions, 3D collision detection in game development, WebXR Device API, and many more.

We made sure MathML is now rendered correctly throughout MDN: inside paragraphs and on the block level, on big and small screens, and in different browsers.

Manifest (web app manifests)

A web app manifest is a JSON text file that provides information about a web application. The most common use for a manifest is to provide information that the browser needs to install a progressive web app (PWA) on a device, such as the app's name and icon.

json
{
  "name": "HackerWeb",
  "short_name": "HackerWeb",
  "start_url": "/index.html",
  "display": "standalone",
  "background_color": "#ffffff",
  "description": "A readable Hacker News app",
  "icons": [
    {
      "src": "images/icons/homescreen192.png",
      "sizes": "192x192",
      "type": "image/png"
    }
  ]
}

For the manifest content updates, Dipika collaborated with Firefox engineer Jonathan Almeida to update browser compatibility data for manifest members in Firefox. The manifest BCD additions now cover compat data for Firefox and Firefox for Android, ensuring accurate and up-to-date support information. Readers on MDN, Can I use, and other sites, now have solid guidance on manifest support across browsers.

On the content side, several improvements landed across the section for prose, layout and templating fixes. The page template is now improved for readability and consistency across the entire section. For each member value (for example, "display": "standalone",), there is a proper prose description, with example scenarios where the value might be used.

Usage notes are collected into a dedicated "Description" section, and any caveats that the specification mentioned that were not in the MDN pages and now documented. Some pages were missing "Syntax" sections completely, so now these gaps are filled so readers can better understand how to use the documented features and some possible member values:

json
/* Boolean values */
"prefer_related_applications": true
"prefer_related_applications": false

This refresh made sure that the existing content was more comprehensive and readable but also included references to similar features, which allowed for more flexibility for developers. For example, using prefers-color-scheme in HTML to set different theme_color values for light and dark mode:

html
<meta
  name="theme-color"
  content="#F4E6D8"
  media="(prefers-color-scheme: light)" />
<meta
  name="theme-color"
  content="#5D4037"
  media="(prefers-color-scheme: dark)" />

HTTP content updates

HTTP is a protocol that's foundational for data exchange on the web. It allows communication between browsers and servers, but it can also be used for machine-to-machine communication, automating access to APIs, and more. On MDN, the HTTP section has over 300 pages of reference material, and the majority of pages are about HTTP headers and response status codes.

Response status codes let the client know the outcome of a HTTP request (such as 200, 404), and give some additional context in certain cases. There are 61 status codes documented on MDN and they include examples for common responses and clarifications for rarer types that web developers may not encounter often. You can even make sure you're familiar with the 418 (I'm a teapot) status just in case.

There are 148 HTTP headers documented on MDN. HTTP headers are the parts of the HTTP message that carry metadata, information about the client or server, instructions for the recipient, and so on. Some headers have several sub-pages that describe mechanisms you can control via headers, such as Content Security Policy (CSP) directives that instruct a browser to restrict what the code comprising a site can run and Permissions Policy directives for requesting permission to use browser features such as location or microphone access.

The HTTP guides have overviews of how the protocol works, describing the evolution of the protocol from HTTP/0.9 right through to current versions. We document different ways to control HTTP interactions such as caching and conditional requests, and we have guides about how to use and understand the protocol for beginners, right up to more involved topics. A lot of the refresh of these guides meant making less specific references to HTTP/1.1 when talking about message formats seeing as HTTP/2 and HTTP/3 are increasingly common.

http
HEAD /en-US/docs/Web/HTTP HTTP/2
Host: developer.mozilla.org
User-Agent: curl/8.7.1
Accept: */*

* Request completely sent off
HTTP/2 200

To summarize, the changes we made across the entire HTTP section included adding examples where they were missing or too short to be useful, removing outdated or obsolete information, and making the formatting and presentation consistent over all pages.

HTTP highlights on MDN

Part of the refresh involved updating and adding sequence diagrams that explain client-server exchanges. We've been finding mermaid syntax useful for a lot of these types of diagrams as it makes it easier to store sources for images that we may need to update later.

These images are stored in the shared-assets repository, which allows us to reuse images instead of duplicate them in the source, and these are easier to write, read, maintain, and they look nice, too:

Like for a regular upload, the first upload of a resource is subject to a race condition: If-None-Match can prevent it.

One interesting pick from the HTTP section is the Server-Timing response header that you can use to surface server metrics to a client:

http
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 123
Date: Fri, 03 Jan 2025 10:41:21 GMT
Server-Timing: custom-metric;dur=123.45;desc="My custom metric"

--- response body ---

Depending on the type of request, you can decide if you want to send server timings to the client, and these are visible in the Network request details panel in most browser's developer tools. For example, the BBC iPlayer is using the Server-Timing header to send performance metrics about the service, visible in the Network > Timings panel below. If you find this interesting, be sure to check the Performance API and the Web performance documentation.

The 'Network > Timings' panel in Firefox developer tools.

For the HTTP section, most of the BCD updates involved improving the accuracy of existing entries and adding missing compat data for headers. Additions included the Service-Worker request header for logging service worker script requests and the Sec-Websocket-* headers used in the WebSocket handshake.

Most of the HTTP updates are for older features, but the accuracy of the support information is crucial for developers making decisions about what to build. One example is the Trailer compatibility details which now reflects browser implementations. It's important to avoid misleading information in compatibility tables because they may encourage people to develop functionality in their applications for features that have poor browser support in reality.

Other 2024 content highlights on MDN

Here's a few interesting picks of documentation that landed in 2024:

Aside from reference docs, we've written about these topics on the MDN blog:

We also blogged about these changes and launches:

Firefox release notes for developers

Firefox release notes describe what's changed for everyday browser users. The MDN team document each Firefox release with release notes specifically for developers. That means in 2024, Firefox versions 122 up to 133 have pages describing the changes in each Firefox release that developers can target. You can find everything in the Firefox release notes for developers pages.

Something you may not be aware of is that we also document Experimental features in Firefox. This page describes features implemented in Firefox that are only available behind a preference (though configuration). You can test out upcoming features before they are released, which is ideal if you're planning to use an experimental technology or if you're curious and would like to provide feedback on Bugzilla.

Kicking off 2025

The content projects that the team worked on were a superb learning experience, and we hope our readers benefit greatly from it. If you want to make our docs better, let us know if there are other sections that need attention, and even lend your expertise. If you want to learn about a topic, why not try to improve the documentation! By contributing to MDN, you can improve your skills in a technology category, and millions of readers will benefit from it.

We're happy to share that we saw the following contributions in mdn/content GitHub repository in 2024:

  • 915 different authors contributed.
  • ~4300 pull requests opened.
  • ~1500 issues opened.

We want to send out a big thanks to everyone who contributed in 2024 and we hope to see you continue in 2025. One of the first larger changes we're excited to see is that JavaScript Temporal is coming with support scheduled to land in Firefox 135. There is a huge pull request for Temporal authored by Josh-Cena, which means you can expect to be able to read Temporal documentation on MDN very soon.

We hope you enjoyed this post! Feel free to get in touch with us and let us know what you think.

甲减对胎儿有什么影响 ckd是什么意思 内分泌紊乱吃什么药 老人适合喝什么茶 幽门螺旋杆菌抗体阳性是什么意思
来姨妈吃什么好 三月是什么月 扶她是什么意思 glu是什么意思 有偿是什么意思
草字头的字和什么有关 尿发黄什么原因 耳朵长痣代表什么 静脉曲张看什么科室 水杯什么材质好
上日下文念什么 省委巡视组组长什么级别 听阴天说什么 扁桃体炎吃什么药 什么叫精神出轨
大腿青筋明显是什么原因hcv9jop7ns4r.cn 什么是小三阳hcv9jop2ns1r.cn 红豆大红豆芋头是什么歌hcv8jop6ns9r.cn ocg是什么意思hcv9jop5ns2r.cn 冠状动脉粥样硬化性心脏病吃什么药hcv8jop2ns6r.cn
碗莲什么时候开花hcv9jop5ns2r.cn 吃什么补肝hcv9jop8ns1r.cn 股骨径是指胎儿什么hcv9jop3ns1r.cn 心脏不舒服吃什么药hcv9jop1ns4r.cn 库欣综合征是什么病hcv9jop2ns1r.cn
带子是什么海鲜hcv9jop4ns7r.cn 天使什么意思dayuxmw.com 天冬与麦冬有什么区别hcv8jop1ns9r.cn 朋友的意义是什么hcv7jop7ns2r.cn 发膜和护发素有什么区别hcv9jop0ns5r.cn
上海古代叫什么zsyouku.com 乳头痒用什么药hcv8jop6ns7r.cn 周星驰是什么星座xinmaowt.com 10.21是什么星座hcv8jop6ns1r.cn 仙人板板 是什么意思hanqikai.com
百度