\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{liuy} \pdfinfo{ /Title (html5.pdf) /Creator (Cheatography) /Author (liuy) /Subject (HTML5 Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{2C7FA3} \definecolor{LightBackground}{HTML}{F1F7F9} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{HTML5 Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{liuy} via \textcolor{DarkBackground}{\uline{cheatography.com/88612/cs/20296/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}liuy \\ \uline{cheatography.com/liuy} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 19th August, 2019.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{3} \begin{tabularx}{5.377cm}{x{2.9862 cm} x{1.9908 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Document Summary}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}html\textgreater{}...\textless{}/html\textgreater{}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}head\textgreater{}...\textless{}/head\textgreater{}} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \textless{}title\textgreater{}...\textless{}/title\textgreater{} & 页面标题 \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}body\textgreater{}...\textless{}/body\textgreater{}} \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.78712 cm} x{2.18988 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Document Information}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}base/\textgreater{}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}meta/\textgreater{}} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \textless{}link/\textgreater{} & 链接CSS \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \textless{}style\textgreater{}...\textless{}/style\textgreater{} & 定义CSS \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \textless{}script\textgreater{}...\textless{}/script\textgreater{} & 链接JavaScript \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.53827 cm} x{2.43873 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Document Structure}} \tn % Row 0 \SetRowColor{LightBackground} \textless{}h1...h6\textgreater{}...\textless{}/h1...h6\textgreater{} & 标题 -{}- 1级到6级 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \textless{}div\textgreater{}...\textless{}/div\textgreater{} & 块级容器 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} \textless{}span\textgreater{}...\textless{}/span\textgreater{} & 行内容器 \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} \textless{}p\textgreater{}...\textless{}/p\textgreater{} & 段落 \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} \textless{}br/\textgreater{} & 换行符 \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} \textless{}hr/\textgreater{} & 水平线 \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} \textless{}!-{}-...-{}-\textgreater{} & 注释 \tn % Row Count 8 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.14471 cm} x{3.83229 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Images}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}img/\textgreater{}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \seqsplit{src="url"} & 图片地址 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \seqsplit{alt="text"} & \seqsplit{图片未正常显示时的文字} \tn % Row Count 4 (+ 2) % Row 3 \SetRowColor{white} \seqsplit{height=""} & 高度 \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} width="" & 宽度 \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} align="" & 对齐方式 \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} \seqsplit{border=""} & 边框 \tn % Row Count 8 (+ 1) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}map\textgreater{}...\textless{}/map\textgreater{}} \tn % Row Count 9 (+ 1) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}map name=""\textgreater{}...\textless{}/map\textgreater{}} \tn % Row Count 10 (+ 1) % Row 9 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}area /\textgreater{}} \tn % Row Count 11 (+ 1) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{shape=""} \tn % Row Count 12 (+ 1) % Row 11 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{coords=""} \tn % Row Count 13 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.89126 cm} x{3.08574 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Text Formatting}} \tn % Row 0 \SetRowColor{LightBackground} \textless{}strong\textgreater{}...\textless{}/strong\textgreater{} & 强调内容,加粗 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \textless{}b\textgreater{}...\textless{}/b\textgreater{} & 粗体 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} \textless{}em\textgreater{}...\textless{}/em\textgreater{} & 强调内容,倾斜 \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} \textless{}i\textgreater{}...\textless{}/i\textgreater{} & 斜体 \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}tt\textgreater{}...\textless{}/tt\textgreater{}} \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}strike\textgreater{}...\textless{}/strike\textgreater{}} \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}cite\textgreater{}...\textless{}/cite\textgreater{}} \tn % Row Count 8 (+ 1) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}del\textgreater{}...\textless{}/del\textgreater{}} \tn % Row Count 9 (+ 1) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}ins\textgreater{}...\textless{}/ins\textgreater{}} \tn % Row Count 10 (+ 1) % Row 9 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}blockquote\textgreater{}...\textless{}/blockquote\textgreater{}} \tn % Row Count 11 (+ 1) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}q\textgreater{}...\textless{}/q\textgreater{}} \tn % Row Count 12 (+ 1) % Row 11 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}abbr\textgreater{}...\textless{}/abbr\textgreater{}} \tn % Row Count 13 (+ 1) % Row 12 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}acronym\textgreater{}...\textless{}/acronym\textgreater{}} \tn % Row Count 14 (+ 1) % Row 13 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}address\textgreater{}...\textless{}/address\textgreater{}} \tn % Row Count 15 (+ 1) % Row 14 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}dfn\textgreater{}...\textless{}/dfn\textgreater{}} \tn % Row Count 16 (+ 1) % Row 15 \SetRowColor{white} \textless{}code\textgreater{}...\textless{}/code\textgreater{} & 代码块 \tn % Row Count 18 (+ 2) % Row 16 \SetRowColor{LightBackground} \textless{}pre\textgreater{}...\textless{}/pre\textgreater{} & \seqsplit{用等宽字体显示整段代码} \tn % Row Count 20 (+ 2) % Row 17 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}sub\textgreater{}...\textless{}/sub\textgreater{}} \tn % Row Count 21 (+ 1) % Row 18 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}sup\textgreater{}...\textless{}/sup\textgreater{}} \tn % Row Count 22 (+ 1) % Row 19 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}small\textgreater{}...\textless{}small\textgreater{}} \tn % Row Count 23 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.94103 cm} x{3.03597 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Collective Character Objects}} \tn % Row 0 \SetRowColor{LightBackground} \&\#34; \" & " \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \&\#60; \< & \textless{} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \&\#62; \> & \textgreater{} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \&\#160; ~ & space -{}- 空格 \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \&\#169; \© & © -{}- Copyright 符号 \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} \&\#38; \& & \& \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} \&\#64; \Ü & @ \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} \&\#149; \ö & • -{}- 间隔点 \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} \&\#153; \û & ™ \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.79172 cm} x{3.18528 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Lists}} \tn % Row 0 \SetRowColor{LightBackground} \textless{}ol\textgreater{}...\textless{}/ol\textgreater{} & 有序列表 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \textless{}ul\textgreater{}...\textless{}/ul\textgreater{} & 无序列表 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \textless{}li\textgreater{}...\textless{}/li\textgreater{} & 列表的条目 \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \textless{}dl\textgreater{}...\textless{}/dl\textgreater{} & 层级菜单 \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \textless{}dt\textgreater{}...\textless{}/dt\textgreater{} & 层级菜单项目 \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} \textless{}dd\textgreater{}...\textless{}/dd\textgreater{} & 层级菜单的条目 \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.53827 cm} x{2.43873 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Links}} \tn % Row 0 \SetRowColor{LightBackground} \textless{}a href=""\textgreater{}...\textless{}/a\textgreater{} & 超链接 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \textless{}a href="mailto:"\textgreater{}...\textless{}/a\textgreater{} & \seqsplit{指向邮箱的超链接} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}a href="tel://\#\#\#-\#\#\#"\textgreater{}...\textless{}/a\textgreater{}} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}a name="name"\textgreater{}...\textless{}/a\textgreater{}} \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}a href="\#name"\textgreater{}...\textless{}/a\textgreater{}} \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.89126 cm} x{3.08574 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Forms}} \tn % Row 0 \SetRowColor{LightBackground} \textless{}form\textgreater{}...\textless{}/form\textgreater{} & 定义表单 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} action="url" & 提交地址 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} method="" & 提交方法 -{}-GET 或者 POST \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{encrypt=""} \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{autocomplete} \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{novalidate} \tn % Row Count 8 (+ 1) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{accept-charsets} \tn % Row Count 9 (+ 1) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{target} \tn % Row Count 10 (+ 1) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}fieldset\textgreater{}...\textless{}/fieldset\textgreater{}} \tn % Row Count 11 (+ 1) % Row 9 \SetRowColor{white} \textless{}label\textgreater{}...\textless{}/label\textgreater{} & 元素的标签 \tn % Row Count 13 (+ 2) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}legend\textgreater{}...\textless{}/legend\textgreater{}} \tn % Row Count 14 (+ 1) % Row 11 \SetRowColor{white} \textless{}input/\textgreater{} & 输入控件 \tn % Row Count 15 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.14011 cm} x{2.83689 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Tables}} \tn % Row 0 \SetRowColor{LightBackground} \textless{}table\textgreater{}...\textless{}/table\textgreater{} & 表格 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}caption\textgreater{}...\textless{}/caption\textgreater{}} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} \textless{}thead\textgreater{}...\textless{}/thead\textgreater{} & 所有表头 \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} \textless{}tbody\textgreater{}...\textless{}/tbody\textgreater{} & 所有表格主体 \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}tfoot\textgreater{}...\textless{}/tfoot\textgreater{}} \tn % Row Count 8 (+ 1) % Row 5 \SetRowColor{white} \textless{}tr\textgreater{}...\textless{}/tr\textgreater{} & 行 \tn % Row Count 9 (+ 1) % Row 6 \SetRowColor{LightBackground} \textless{}th\textgreater{}...\textless{}/th\textgreater{} & 表头单元格 \tn % Row Count 10 (+ 1) % Row 7 \SetRowColor{white} \textless{}td\textgreater{}...\textless{}/td\textgreater{} & \seqsplit{表格内容的单元格} \tn % Row Count 12 (+ 2) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}colgroup\textgreater{}...\textless{}/colgroup\textgreater{}} \tn % Row Count 13 (+ 1) % Row 9 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}col\textgreater{}...\textless{}/col\textgreater{}} \tn % Row Count 14 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.88206 cm} p{1.09494 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{HTML New Tags}} \tn % Row 0 \SetRowColor{LightBackground} \textless{}header\textgreater{}...\textless{}/header\textgreater{} & 页眉 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \textless{}footer\textgreater{}...\textless{}/flooter\textgreater{} & 页脚 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}article\textgreater{}...\textless{}/article\textgreater{}} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}aside\textgreater{}...\textless{}/aside\textgreater{}} \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}section\textgreater{}...\textless{}/section\textgreater{}} \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}details\textgreater{}...\textless{}/details\textgreater{}} \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}summary\textgreater{}...\textless{}/summary\textgreater{}} \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}dialog\textgreater{}...\textless{}/dialog\textgreater{}} \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}figure\textgreater{}...\textless{}/figure\textgreater{}} \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}figure\textgreater{}...\textless{}/figure\textgreater{}} \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}figcaption\textgreater{}...\textless{}/figcaption\textgreater{}} \tn % Row Count 11 (+ 1) % Row 11 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}mark\textgreater{}...\textless{}/mark\textgreater{}} \tn % Row Count 12 (+ 1) % Row 12 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}nav\textgreater{}...\textless{}/nav\textgreater{}} \tn % Row Count 13 (+ 1) % Row 13 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}menuitem\textgreater{}...\textless{}/menuitem\textgreater{}} \tn % Row Count 14 (+ 1) % Row 14 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}meter\textgreater{}...\textless{}/meter\textgreater{}} \tn % Row Count 15 (+ 1) % Row 15 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}progress\textgreater{}...\textless{}/progress\textgreater{}} \tn % Row Count 16 (+ 1) % Row 16 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}rp\textgreater{}...\textless{}/rp\textgreater{}} \tn % Row Count 17 (+ 1) % Row 17 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}rt\textgreater{}...\textless{}/rt\textgreater{}} \tn % Row Count 18 (+ 1) % Row 18 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}ruby\textgreater{}...\textless{}/ruby\textgreater{}} \tn % Row Count 19 (+ 1) % Row 19 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}time\textgreater{}...\textless{}/time\textgreater{}} \tn % Row Count 20 (+ 1) % Row 20 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}wbr\textgreater{}} \tn % Row Count 21 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.9908 cm} x{2.9862 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Input Type Attributes}} \tn % Row 0 \SetRowColor{LightBackground} type="" & 控件类型 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{name=""} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{value=""} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{size=""} \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{maxlength=""} \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{required} \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{width=""} \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{height=""} \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{placeholder=""} \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{pattern=""} \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{min=""} \tn % Row Count 11 (+ 1) % Row 11 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{max=""} \tn % Row Count 12 (+ 1) % Row 12 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{autofocus} \tn % Row Count 13 (+ 1) % Row 13 \SetRowColor{white} disabled & 已禁用 \tn % Row Count 14 (+ 1) % Row 14 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\textless{}textarea\textgreater{}...\textless{}/textarea\textgreater{}} \tn % Row Count 15 (+ 1) % Row 15 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{\textless{}select\textgreater{}...\textless{}/select\textgreater{}} \tn % Row Count 16 (+ 1) % Row 16 \SetRowColor{LightBackground} checked & 已选中 \tn % Row Count 17 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.14471 cm} x{3.83229 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Input Type Value}} \tn % Row 0 \SetRowColor{LightBackground} text & 文本 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} password & 密码 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} radio & 单选 \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} checkbox & 多选 \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} file & 上传文件 \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} image & \seqsplit{图片形式的提交按钮} \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} submit & 提交 \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} button & 执行JavaScript脚本 \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} reset & 重置表单 \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} hidden & 隐藏字段 \tn % Row Count 10 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Select Attributes}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{name=""} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{size=""} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{multiple} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{required} \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{autofocus} \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{\textless{}option\textgreater{}...\textless{}/option\textgreater{}} \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Option Attributes}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{value=""} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{selected} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{\textless{}button\textgreater{}...\textless{}/button\textgreater{}} \tn % Row Count 3 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Objects and iFrames}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{\textless{}object\textgreater{}...\textless{}/object\textgreater{}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{height=""} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{width=""} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{type=""} \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{\textless{}iframe\textgreater{}...\textless{}/iframe\textgreater{}} \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{iFrame Attributes}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{name=""} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{src=""} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{srcdoc=""} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{height=""} \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{width=""} \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{\textless{}param /\textgreater{}} \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{\textless{}embed\textgreater{}...\textless{}/embed\textgreater{}} \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Embed Attributes}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{height=""} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{width=""} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{type=""} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{src=""} \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}