PageSourceSearch

https://google-docs-9fv.pages.dev/assets/js/96e4547f.91d899b0.js

js google-docs-9fv.pages.dev collected 2026-10-03 05:40:42 UTC 4,888 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2029],{95948:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>m,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var l=n(74848),r=n(28453);const o={title:"<acronym>",slug:"Web/HTML/Element/acronym","page-type":"html-element",status:["deprecated"],"browser-compat":"html.elements.acronym"},s=void 0,i={id:"html/element/acronym/index",title:"<acronym>",description:"The `` HTML element allows authors to clearly indicate a sequence of characters that compose an acronym or abbreviation for a word.",source:"@site/google/html/element/acronym/index.md",sourceDirName:"html/element/acronym",slug:"/html/element/acronym/Web/HTML/Element/acronym",permalink:"/google/html/element/acronym/Web/HTML/Element/acronym",draft:!1,unlisted:!1,editUrl:"https://github.com/hyaliyun/Google-Docs/edit/main/website/google/html/element/acronym/index.md",tags:[],version:"current",lastUpdatedBy:"543x",lastUpdatedAt:1727740994e3,frontMatter:{title:"<acronym>",slug:"Web/HTML/Element/acronym","page-type":"html-element",status:["deprecated"],"browser-compat":"html.elements.acronym"},sidebar:"devDocsSidebar",previous:{title:"<abbr>: The Abbreviation element",permalink:"/google/html/element/abbr/Web/HTML/Element/abbr"},next:{title:"<address>: The Contact Address element",permalink:"/google/html/element/address/Web/HTML/Element/address"}},a={},c=[{value:"Attributes",id:"attributes",level:2},{value:"DOM Interface",id:"dom-interface",level:2},{value:"Examples",id:"examples",level:2},{value:"Result",id:"result",level:3},{value:"Default styling",id:"default-styling",level:2},{value:"Specifications",id:"specifications",level:2},{value:"Browser compatibility",id:"browser-compatibility",level:2},{value:"See also",id:"see-also",level:2}];function d(e){const t={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(t.p,{children:["The ",(0,l.jsx)(t.strong,{children:(0,l.jsx)(t.code,{children:"<acronym>"})})," ",(0,l.jsx)(t.a,{href:"/Web/HTML",children:"HTML"})," element allows authors to clearly indicate a sequence of characters that compose an acronym or abbreviation for a word."]}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsx)(t.p,{children:'[!WARNING]\nDon\'t use this element. Use the {{HTMLElement("abbr")}} element instead.'}),"\n"]}),"\n",(0,l.jsx)(t.h2,{id:"attributes",children:"Attributes"}),"\n",(0,l.jsxs)(t.p,{children:["This element only has ",(0,l.jsx)(t.a,{href:"/Web/HTML/Global_attributes",children:"global attributes"}),", which are common to all elements."]}),"\n",(0,l.jsx)(t.h2,{id:"dom-interface",children:"DOM Interface"}),"\n",(0,l.jsx)(t.p,{children:"This element implements the {{domxref('HTMLElement')}} interface."}),"\n",(0,l.jsx)(t.h2,{id:"examples",children:"Examples"}),"\n",(0,l.jsx)(t.pre,{children:(0,l.jsx)(t.code,{className:"language-html",children:'<p>\n  The <acronym title="World Wide Web">WWW</acronym> is only a component of the\n  Internet.\n</p>\n'})}),"\n",(0,l.jsx)(t.h3,{id:"result",children:"Result"}),"\n",(0,l.jsx)(t.p,{children:"{{EmbedLiveSample('Examples')}}"}),"\n",(0,l.jsx)(t.h2,{id:"default-styling",children:"Default styling"}),"\n",(0,l.jsx)(t.p,{children:"Though the purpose of this tag is purely for the convenience of the author, its default styling varies from one browser to another:"}),"\n",(0,l.jsxs)(t.ul,{children:["\n",(0,l.jsx)(t.li,{children:"Opera, Firefox, Chrome, and some others add a dotted underline to the content of the element."}),"\n",(0,l.jsx)(t.li,{children:'A few browsers not only add a dotted underline, but also put it in small caps; to avoid this styling, adding something like {{cssxref("font-variant", "font-variant: none")}} in the CSS takes care of this case.'}),"\n"]}),"\n",(0,l.jsx)(t.p,{children:"It is therefore recommended that web authors either explicitly style this element, or accept some cross-browser variation."}),"\n",(0,l.jsx)(t.h2,{id:"specifications",children:"Specifications"}),"\n",(0,l.jsx)(t.h2,{id:"browser-compatibility",children:"Browser compatibility"}),"\n",(0,l.jsx)(t.h2,{id:"see-also",children:"See also"}),"\n",(0,l.jsxs)(t.ul,{children:["\n",(0,l.jsx)(t.li,{children:'The {{HTMLElement("abbr")}} HTML element'}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,l.jsx)(t,{...e,children:(0,l.jsx)(d,{...e})}):d(e)}},28453:(e,t,n)=>{n.d(t,{R:()=>s,x:()=>i});var l=n(96540);const r={},o=l.createContext(r);function s(e){const t=l.useContext(o);return l.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),l.createElement(o.Provider,{value:t},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.