Variable: html-tag-alist
html-tag-alist is a variable defined in sgml-mode.el.gz.
Value
Large value
(("a"
("name")
("href"
("ftp:")
("file:")
("finger:")
("gopher:")
("http:")
("https:")
("mailto:")
("news:")
("rlogin:")
("telnet:")
("tn3270:")
("wais:")
("/cgi-bin/"))
("rel"
("next")
("previous")
("parent")
("subdocument")
("made"))
("rev"
("next")
("previous")
("parent")
("subdocument")
("made"))
("title"))
("area" t
("shape"
("rect")
("circle")
("poly")
("default"))
("coords")
("href")
("nohref" "nohref")
("alt")
("tabindex")
("accesskey")
("onfocus")
("onblur"))
("base" t "href"
("ftp:")
("file:")
("finger:")
("gopher:")
("http:")
("https:")
("mailto:")
("news:")
("rlogin:")
("telnet:")
("tn3270:")
("wais:")
("/cgi-bin/"))
("col" t
("align"
("left")
("center")
("right")
("justify")
("char"))
("char")
("charoff")
("valign"
("top")
("middle")
("bottom")
("baseline"))
("span")
("width"))
("colgroup" n
("align"
("left")
("center")
("right")
("justify")
("char"))
("char")
("charoff")
("valign"
("top")
("middle")
("bottom")
("baseline"))
("span")
("width"))
("dir"
(nil n
("List item: " "<li>" str
(if sgml-xml-mode "</li>")
n)))
("figcaption")
("figure" n)
("font" nil "size"
("-1")
("+1")
("-2")
("+2")
("1")
("2")
("3")
("4")
("5")
("6")
("7"))
("form"
(n _ n "<input type=\"submit\" value=\"\""
(if sgml-xml-mode " />" ">"))
("action"
("ftp:")
("file:")
("finger:")
("gopher:")
("http:")
("https:")
("mailto:")
("news:")
("rlogin:")
("telnet:")
("tn3270:")
("wais:")
("/cgi-bin/"))
("method"
("get")
("post")))
("h1"
("align"
("left")
("center")
("right")))
("h2"
("align"
("left")
("center")
("right")))
("h3"
("align"
("left")
("center")
("right")))
("h4"
("align"
("left")
("center")
("right")))
("h5"
("align"
("left")
("center")
("right")))
("h6"
("align"
("left")
("center")
("right")))
("hr" t
("size"
("1")
("2")
("3")
("4")
("5")
("6")
("7")
("8")
("9"))
("width")
("noshade" t)
("align"
("left")
("center")
("right")))
("iframe" n
("align"
("top")
("middle")
("bottom")
("left")
("right"))
("longdesc")
("name")
("src")
("frameborder"
("1")
("0"))
("marginwidth")
("marginheight")
("scrolling"
("yes")
("no")
("auto"))
("height")
("width"))
("img" t
("align"
("top")
("middle")
("bottom")
("baseline")
("texttop")
("absmiddle")
("absbottom"))
("src")
("alt")
("width" "1")
("height" "1")
("border" "1")
("vspace" "1")
("hspace" "1")
("ismap" t))
("input" t
("name")
("accept")
("alt")
("autocomplete"
("on")
("off"))
("autofocus" t)
("checked" t)
("dirname")
("disabled" t)
("form")
("formaction")
("formenctype"
("application/x-www-form-urlencoded")
("multipart/form-data")
("text/plain"))
("formmethod"
("get")
("post"))
("formnovalidate" t)
("formtarget"
("_blank")
("_self")
("_parent")
("_top"))
("height")
("inputmode")
("list")
("max")
("maxlength")
("min")
("minlength")
("multiple" t)
("pattern")
("placeholder")
("readonly" t)
("required" t)
("size")
("src")
("step")
("type"
("hidden")
("text")
("search")
("tel")
("url")
("email")
("password")
("date")
("time")
("number")
("range")
("color")
("checkbox")
("radio")
("file")
("submit")
("image")
("reset")
("button"))
("value")
("width"))
("link" t
("href"
("ftp:")
("file:")
("finger:")
("gopher:")
("http:")
("https:")
("mailto:")
("news:")
("rlogin:")
("telnet:")
("tn3270:")
("wais:")
("/cgi-bin/"))
("rel"
("next")
("previous")
("parent")
("subdocument")
("made"))
("rev"
("next")
("previous")
("parent")
("subdocument")
("made"))
("title"))
("menu"
(nil n
("List item: " "<li>" str
(if sgml-xml-mode "</li>")
n)))
("ol"
(nil n
("List item: " "<li>" str
(if sgml-xml-mode "</li>")
n))
("type"
("A")
("a")
("I")
("i")
("1")))
("p" t
("align"
("left")
("center")
("right")))
("select"
(nil n
("Text: " "<option>" str
(if sgml-xml-mode "</option>")
n))
("name")
("size"
("1")
("2")
("3")
("4")
("5")
("6")
("7")
("8")
("9"))
("multiple" t))
("table"
(nil n
((completing-read "Cell kind: "
'(("td")
("th"))
nil t "t")
"<tr><" str 62 _
(if sgml-xml-mode
(concat "<" str "></tr>"))
n))
("border" t
("1")
("2")
("3")
("4")
("5")
("6")
("7")
("8")
("9"))
("width" "10")
("cellpadding"))
("tbody" n
("align"
("left")
("center")
("right")
("justify")
("char"))
("char")
("charoff")
("valign"
("top")
("middle")
("bottom")
("baseline")))
("td" t
("align"
("left")
("center")
("right"))
("valign"
("top")
("middle")
("bottom")
("baseline"))
("colspan"
("1")
("2")
("3")
("4")
("5")
("6")
("7")
("8")
("9"))
("rowspan"
("1")
("2")
("3")
("4")
("5")
("6")
("7")
("8")
("9"))
("nowrap" t))
("textarea"
("name")
("rows"
("1")
("2")
("3")
("4")
("5")
("6")
("7")
("8")
("9"))
("cols"
("1")
("2")
("3")
("4")
("5")
("6")
("7")
("8")
("9")))
("tfoot" n
("align"
("left")
("center")
("right")
("justify")
("char"))
("char")
("charoff")
("valign"
("top")
("middle")
("bottom")
("baseline")))
("th" t
("align"
("left")
("center")
("right"))
("valign"
("top")
("middle")
("bottom")
("baseline"))
("colspan"
("1")
("2")
("3")
("4")
("5")
("6")
("7")
("8")
("9"))
("rowspan"
("1")
("2")
("3")
("4")
("5")
("6")
("7")
("8")
("9"))
("nowrap" t))
("thead" n
("align"
("left")
("center")
("right")
("justify")
("char"))
("char")
("charoff")
("valign"
("top")
("middle")
("bottom")
("baseline")))
("ul"
(nil n
("List item: " "<li>" str
(if sgml-xml-mode "</li>")
n))
("type"
("disc")
("circle")
("square")))
("!["
("ignore" t)
("include" t))
("!attlist")
("!doctype")
("!element")
("!entity")
("abbr")
("acronym")
("address")
("array"
(nil n
("Item: " "<item>" str
(if sgml-xml-mode "</item>")
n))
"align")
("article" n)
("aside" n)
("au")
("audio" n
("src")
("crossorigin"
("anonymous")
("use-credentials"))
("preload"
("none")
("metadata")
("auto"))
("autoplay" "autoplay")
("mediagroup")
("loop" "loop")
("muted" "muted")
("controls" "controls"))
("b")
("bdi")
("bdo" nil
("lang")
("dir"
("ltr")
("rtl")))
("big")
("blink")
("blockquote" n
("cite"))
("body" n
("background" ".gif")
("bgcolor" "#")
("text" "#")
("link" "#")
("alink" "#")
("vlink" "#"))
("box"
(nil _ "<over>" _
(if sgml-xml-mode "</over>")))
("br" t
("clear"
("left")
("right")))
("button" nil
("name")
("value")
("type"
("submit")
("reset")
("button"))
("disabled" "disabled")
("tabindex")
("accesskey")
("onfocus")
("onblur"))
("canvas" n
("width")
("height"))
("caption"
("valign"
("top")
("bottom")))
("center" n)
("cite")
("code" n)
("datalist" n)
("dd" t)
("del" nil
("cite")
("datetime"))
("dfn")
("div" n
("id")
("class"))
("dl"
(nil n
("Term: " "<dt>" str
(if sgml-xml-mode "</dt>")
"<dd>" _
(if sgml-xml-mode "</dd>")
n)))
("dt"
(t _
(if sgml-xml-mode "</dt>")
"<dd>"
(if sgml-xml-mode "</dd>")
n))
("em")
("embed" t
("src")
("type")
("width")
("height"))
("fieldset" n)
("fn" "id" "fn")
("footer" n)
("frame" t
("longdesc")
("name")
("src")
("frameborder"
("1")
("0"))
("marginwidth")
("marginheight")
("noresize" "noresize")
("scrolling"
("yes")
("no")
("auto")))
("frameset" n
("rows")
("cols")
("onload")
("onunload"))
("head" n)
("header" n)
("hgroup" n)
("html"
(n "<head>\n" "<title>"
(setq str
(read-string "Title: "))
"</title>\n" "</head>\n" "<body>\n<h1>" str "</h1>\n" _ "\n<address>\n<a href=\"mailto:" user-mail-address "\">"
(user-full-name)
"</a>\n</address>\n" "</body>"))
("i")
("ins" nil
("cite")
("datetime"))
("isindex" t
("action")
("prompt"))
("kbd")
("label" nil
("for")
("accesskey")
("onfocus")
("onblur"))
("lang")
("legend" nil
("accesskey"))
("li" t)
("main" n)
("map" n
("name"))
("mark")
("math" n)
("meta" t
("http-equiv")
("name")
("content")
("scheme"))
("meter" nil
("value")
("min")
("max")
("low")
("high")
("optimum"))
("nav" n)
("nobr")
("noframes" n)
("noscript" n)
("object" n
("declare" "declare")
("classid")
("codebase")
("data")
("type")
("codetype")
("archive")
("standby")
("height")
("width")
("usemap")
("name")
("tabindex"))
("optgroup" n
("name")
("size")
("multiple" "multiple")
("disabled" "disabled")
("tabindex")
("onfocus")
("onblur")
("onchange"))
("option" t
("value")
("label")
("selected" t))
("output" nil
("for")
("form")
("name"))
("over" t)
("param" t
("name")
("value")
("valuetype"
("data")
("ref")
("object"))
("type"))
("person")
("pre" n)
("progress" nil
("value")
("max"))
("q" nil
("cite"))
("rev")
("rp" t)
("rt" t)
("ruby")
("s")
("samp")
("script" nil
("charset")
("type")
("src")
("defer" "defer"))
("section" n)
("small")
("source" t
("src")
("type")
("media"))
("span" nil
("class"
("builtin")
("comment")
("constant")
("function-name")
("keyword")
("string")
("type")
("variable-name")
("warning")))
("strong")
("style" n
("type")
("media")
("title"))
("sub")
("summary")
("sup")
("time" nil
("datetime"))
("title")
("tr" t)
("track" t
("kind"
("subtitles")
("captions")
("descriptions")
("chapters")
("metadata"))
("src")
("srclang")
("label")
("default"))
("tt")
("u")
("var")
("video" n
("src")
("crossorigin"
("anonymous")
("use-credentials"))
("poster")
("preload"
("none")
("metadata")
("auto"))
("autoplay" "autoplay")
("mediagroup")
("loop" "loop")
("muted" "muted")
("controls" "controls")
("width")
("height"))
("wbr" t))
Documentation
Value of sgml-tag-alist for HTML mode.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
(defvar html-tag-alist
(let* ((1-7 '(("1") ("2") ("3") ("4") ("5") ("6") ("7")))
(1-9 `(,@1-7 ("8") ("9")))
(align '(("align" ("left") ("center") ("right"))))
(ialign '(("align" ("top") ("middle") ("bottom") ("left")
("right"))))
(valign '(("top") ("middle") ("bottom") ("baseline")))
(rel '(("next") ("previous") ("parent") ("subdocument") ("made")))
(href '("href" ("ftp:") ("file:") ("finger:") ("gopher:") ("http:")
("https:") ("mailto:") ("news:") ("rlogin:") ("telnet:") ("tn3270:")
("wais:") ("/cgi-bin/")))
(name '("name"))
(link `(,href
("rel" ,@rel)
("rev" ,@rel)
("title")))
(list '((nil \n ("List item: " "<li>" str
(if sgml-xml-mode "</li>") \n))))
(shape '(("shape" ("rect") ("circle") ("poly") ("default"))))
(cell `(t
,@align
("valign" ,@valign)
("colspan" ,@1-9)
("rowspan" ,@1-9)
("nowrap" t)))
(cellhalign '(("align" ("left") ("center") ("right")
("justify") ("char"))
("char") ("charoff")))
(cellvalign '(("valign" ("top") ("middle") ("bottom")
("baseline")))))
;; put ,-expressions first, else byte-compile chokes (as of V19.29)
;; and like this it's more efficient anyway
`(("a" ,name ,@link)
("area" t ,@shape ("coords") ("href") ("nohref" "nohref") ("alt")
("tabindex") ("accesskey") ("onfocus") ("onblur"))
("base" t ,@href)
("col" t ,@cellhalign ,@cellvalign ("span") ("width"))
("colgroup" \n ,@cellhalign ,@cellvalign ("span") ("width"))
("dir" ,@list)
("figcaption")
("figure" \n)
("font" nil "size" ("-1") ("+1") ("-2") ("+2") ,@1-7)
("form" (\n _ \n "<input type=\"submit\" value=\"\""
(if sgml-xml-mode " />" ">"))
("action" ,@(cdr href)) ("method" ("get") ("post")))
("h1" ,@align)
("h2" ,@align)
("h3" ,@align)
("h4" ,@align)
("h5" ,@align)
("h6" ,@align)
("hr" t ("size" ,@1-9) ("width") ("noshade" t) ,@align)
("iframe" \n ,@ialign ("longdesc") ("name") ("src")
("frameborder" ("1") ("0")) ("marginwidth") ("marginheight")
("scrolling" ("yes") ("no") ("auto")) ("height") ("width"))
("img" t ("align" ,@valign ("texttop") ("absmiddle") ("absbottom"))
("src") ("alt") ("width" "1") ("height" "1")
("border" "1") ("vspace" "1") ("hspace" "1") ("ismap" t))
("input" t ,name ("accept") ("alt") ("autocomplete" ("on") ("off"))
("autofocus" t) ("checked" t) ("dirname") ("disabled" t) ("form")
("formaction")
("formenctype" ("application/x-www-form-urlencoded")
("multipart/form-data") ("text/plain"))
("formmethod" ("get") ("post"))
("formnovalidate" t)
("formtarget" ("_blank") ("_self") ("_parent") ("_top"))
("height") ("inputmode") ("list") ("max") ("maxlength") ("min")
("minlength") ("multiple" t) ("pattern") ("placeholder")
("readonly" t) ("required" t) ("size") ("src") ("step")
("type" ("hidden") ("text") ("search") ("tel") ("url") ("email")
("password") ("date") ("time") ("number") ("range") ("color")
("checkbox") ("radio") ("file") ("submit") ("image") ("reset")
("button"))
("value") ("width"))
("link" t ,@link)
("menu" ,@list)
("ol" ,@list ("type" ("A") ("a") ("I") ("i") ("1")))
("p" t ,@align)
("select" (nil \n
("Text: "
"<option>" str (if sgml-xml-mode "</option>") \n))
,name ("size" ,@1-9) ("multiple" t))
("table" (nil \n
((completing-read "Cell kind: " '(("td") ("th"))
nil t "t")
"<tr><" str ?> _
(if sgml-xml-mode (concat "<" str "></tr>")) \n))
("border" t ,@1-9) ("width" "10") ("cellpadding"))
("tbody" \n ,@cellhalign ,@cellvalign)
("td" ,@cell)
("textarea" ,name ("rows" ,@1-9) ("cols" ,@1-9))
("tfoot" \n ,@cellhalign ,@cellvalign)
("th" ,@cell)
("thead" \n ,@cellhalign ,@cellvalign)
("ul" ,@list ("type" ("disc") ("circle") ("square")))
,@sgml-tag-alist
("abbr")
("acronym")
("address")
("array" (nil \n
("Item: " "<item>" str (if sgml-xml-mode "</item>") \n))
"align")
("article" \n)
("aside" \n)
("au")
("audio" \n
("src") ("crossorigin" ("anonymous") ("use-credentials"))
("preload" ("none") ("metadata") ("auto"))
("autoplay" "autoplay") ("mediagroup") ("loop" "loop")
("muted" "muted") ("controls" "controls"))
("b")
("bdi")
("bdo" nil ("lang") ("dir" ("ltr") ("rtl")))
("big")
("blink")
("blockquote" \n ("cite"))
("body" \n ("background" ".gif") ("bgcolor" "#") ("text" "#")
("link" "#") ("alink" "#") ("vlink" "#"))
("box" (nil _ "<over>" _ (if sgml-xml-mode "</over>")))
("br" t ("clear" ("left") ("right")))
("button" nil ("name") ("value")
("type" ("submit") ("reset") ("button"))
("disabled" "disabled")
("tabindex") ("accesskey") ("onfocus") ("onblur"))
("canvas" \n ("width") ("height"))
("caption" ("valign" ("top") ("bottom")))
("center" \n)
("cite")
("code" \n)
("datalist" \n)
("dd" ,(not sgml-xml-mode))
("del" nil ("cite") ("datetime"))
("dfn")
("div" \n ("id") ("class"))
("dl" (nil \n
( "Term: "
"<dt>" str (if sgml-xml-mode "</dt>")
"<dd>" _ (if sgml-xml-mode "</dd>") \n)))
("dt" (t _ (if sgml-xml-mode "</dt>")
"<dd>" (if sgml-xml-mode "</dd>") \n))
("em")
("embed" t ("src") ("type") ("width") ("height"))
("fieldset" \n)
("fn" "id" "fn") ;; Footnotes were deprecated in HTML 3.2
("footer" \n)
("frame" t ("longdesc") ("name") ("src")
("frameborder" ("1") ("0")) ("marginwidth") ("marginheight")
("noresize" "noresize") ("scrolling" ("yes") ("no") ("auto")))
("frameset" \n ("rows") ("cols") ("onload") ("onunload"))
("head" \n)
("header" \n)
("hgroup" \n)
("html" (\n
"<head>\n"
"<title>" (setq str (read-string "Title: ")) "</title>\n"
"</head>\n"
"<body>\n<h1>" str "</h1>\n" _
"\n<address>\n<a href=\"mailto:"
user-mail-address
"\">" (user-full-name) "</a>\n</address>\n"
"</body>"
))
("i")
("ins" nil ("cite") ("datetime"))
("isindex" t ("action") ("prompt"))
("kbd")
("label" nil ("for") ("accesskey") ("onfocus") ("onblur"))
("lang")
("legend" nil ("accesskey"))
("li" ,(not sgml-xml-mode))
("main" \n)
("map" \n ("name"))
("mark")
("math" \n)
("meta" t ("http-equiv") ("name") ("content") ("scheme"))
("meter" nil ("value") ("min") ("max") ("low") ("high")
("optimum"))
("nav" \n)
("nobr")
("noframes" \n)
("noscript" \n)
("object" \n ("declare" "declare") ("classid") ("codebase")
("data") ("type") ("codetype") ("archive") ("standby")
("height") ("width") ("usemap") ("name") ("tabindex"))
("optgroup" \n ("name") ("size") ("multiple" "multiple")
("disabled" "disabled") ("tabindex") ("onfocus") ("onblur")
("onchange"))
("option" t ("value") ("label") ("selected" t))
("output" nil ("for") ("form") ("name"))
("over" t)
("param" t ("name") ("value")
("valuetype" ("data") ("ref") ("object")) ("type"))
("person") ;; Tag for person's name tag deprecated in HTML 3.2
("pre" \n)
("progress" nil ("value") ("max"))
("q" nil ("cite"))
("rev")
("rp" t)
("rt" t)
("ruby")
("s")
("samp")
("script" nil ("charset") ("type") ("src") ("defer" "defer"))
("section" \n)
("small")
("source" t ("src") ("type") ("media"))
("span" nil
("class"
("builtin")
("comment")
("constant")
("function-name")
("keyword")
("string")
("type")
("variable-name")
("warning")))
("strong")
("style" \n ("type") ("media") ("title"))
("sub")
("summary")
("sup")
("time" nil ("datetime"))
("title")
("tr" t)
("track" t
("kind" ("subtitles") ("captions") ("descriptions")
("chapters") ("metadata"))
("src") ("srclang") ("label") ("default"))
("tt")
("u")
("var")
("video" \n
("src") ("crossorigin" ("anonymous") ("use-credentials"))
("poster") ("preload" ("none") ("metadata") ("auto"))
("autoplay" "autoplay") ("mediagroup") ("loop" "loop")
("muted" "muted") ("controls" "controls") ("width") ("height"))
("wbr" t)))
"Value of `sgml-tag-alist' for HTML mode.")