我正在尝试修复我的 latex 文件中的表格。表格太长,最后几行超出了页数,部分还进入了脚注。我想使用longtable
包来拆分表格并扩展到第二页(参见示例 1)。但是,一旦我这样做,就会遇到另一个问题,因为右列中的文本超出了范围\textwidth
。不知道如何克服这个问题。
最后,我更希望将大表格扩展到两页,并且表格的标题也显示在第二页上。如果有人能在这里帮助我,我将不胜感激。
这是我的代码:
\usepackage{booktabs}
\usepackage[table,xcdraw]{xcolor}
\usepackage{longtable}
\newlength{\asdf}
\setlength{\asdf}{\textwidth}
\addtolength{\asdf}{-8\tabcolsep}
\usepackage{tabularx}
\usepackage{ltablex}
\usepackage{caption}
\usepackage{array}
\begin{tabularx}{\textwidth}{@{}lX@{}}
\toprule
\textbf{YYYYYYYYYYYY} & \textbf{ZZZZZZZZZZZZZZ} \\
\midrule
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbb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bbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
\bottomrule
\end{tabularx}
\end{table}
答案1
给你。使用ltablex
,语法与 相同longtable
。特别是,你不嵌套tabularx
在table
环境中,并且\caption
被合并到第一个头中。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ltablex}
\usepackage{caption, booktabs}
\begin{document}
\begin{tabularx}{\linewidth}{@{}lX@{}}
\caption{My caption} \\
\toprule
\textbf{YYYYYYYYYYYY} & \textbf{ZZZZZZZZZZZZZZ} \\
\midrule
\endfirsthead
\toprule
\textbf{YYYYYYYYYYYY} & \textbf{ZZZZZZZZZZZZZZ} \\
\midrule
\endhead
\midrule
\multicolumn{2}{r}{\footnotesize( To be continued)}
\endfoot
\bottomrule
\endlastfoot
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aa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aaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;
\end{tabularx}
\end{document}
答案2
环境内的表格table
不能分成几页,这就是为什么示例图像中的表格会延续并与脚注和页码重叠。
为了X
从包中获取跨页且具有类型为列的变量的表tabularx
,您可以使用ltablex
包,如以下示例所示。要在所有后续页面上重复标题,您可以使用示例中\endhead
所示的命令:
\documentclass{article}
\usepackage{booktabs}
\usepackage{ltablex}
\begin{document}
\begin{tabularx}{\textwidth}{@{}lX@{}}
\toprule
\textbf{YYYYYYYYYYYY} & \textbf{ZZZZZZZZZZZZZZ} \\
\midrule
\endhead
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbb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bbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
0000 & aaaa $\&$ bbbbb; aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb;aaaa $\&$ bbbbb; \\
\bottomrule
\end{tabularx}
\end{document}
答案3
我想画一个完全像这样的表格。这意味着我的表格很长,需要将表格的延续部分移到下一页。但我使用了这些包中的每一个,都没有用。你能帮帮我吗,谢谢。
\documentclass[msc]{thesis}
\usepackage{multirow}
\usepackage{pst-barcode}
\usepackage{pdfpages}
%\usepackage{supertabular}
%\usepackage{longtable}
%\usepackage{ltablex}
\usepackage[algosection,lined,ruled,linesnumbered]{algorithm2e}%
\begin{table}[]
\label{features}
\caption{ تفسیر کامل ویژگیهای دیتاست }
\begin{center}
\resizebox{\columnwidth}{!}{%
\begin{tabular}{clclc}
\hline
\textbf{No.} & \textbf{Feature} & \textbf{Type} & \textbf{Description} & \textbf{} \\ \hline
\multicolumn{1}{|c|}{1} & \multicolumn{1}{l|}{NumDots} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the number of dots in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{2} & \multicolumn{1}{l|}{SubdomainLevel} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the level of subdomain in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{3} & \multicolumn{1}{l|}{PathLevel} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the depth of the path in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{4} & \multicolumn{1}{l|}{UrlLength} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the total characters in the webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{5} & \multicolumn{1}{l|}{NumDash} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the number of “-” in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{6} & \multicolumn{1}{l|}{NumDashInHostname} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the number of “-” in hostname part of webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{7} & \multicolumn{1}{l|}{AtSymbol} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if “@” symbol exist in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{8} & \multicolumn{1}{l|}{TildeSymbol} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if “∼” symbol exist in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{9} & \multicolumn{1}{l|}{NumUnderscore} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the number of “\_” in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{10} & \multicolumn{1}{l|}{NumPercent} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the number of “\%” in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{11} & \multicolumn{1}{l|}{NumQueryComponents} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the number of query parts in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{12} & \multicolumn{1}{l|}{NumAmpersand} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the number of “\&” in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{13} & \multicolumn{1}{l|}{NumHash} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the number of “\#” in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{14} & \multicolumn{1}{l|}{NumNumericChars} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the number of numeric characters in the webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{15} & \multicolumn{1}{l|}{NoHttps} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if HTTPS exist in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{16} & \multicolumn{1}{l|}{RandomString} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if random strings exist in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{17} & \multicolumn{1}{l|}{IpAddress} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if IP address is used in hostname part of webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{18} & \multicolumn{1}{l|}{DomainInSubdomains} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if TLD or ccTLD is used as part of subdomain in webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{19} & \multicolumn{1}{l|}{DomainInPaths} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if TLD or ccTLD is used in the path of webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{20} & \multicolumn{1}{l|}{HttpsInHostname} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if HTTPS in obfuscated in hostname part of webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{21} & \multicolumn{1}{l|}{HostnameLength} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the total characters in hostname part of webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{22} & \multicolumn{1}{l|}{PathLength} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the total characters in path of webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{23} & \multicolumn{1}{l|}{QueryLength} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{Counts the total characters in query part of webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{24} & \multicolumn{1}{l|}{DoubleSlashInPath} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if “//” exist in the path of webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{25} & \multicolumn{1}{l|}{NumSensitiveWords} & \multicolumn{1}{c|}{Discrete} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Counts the number of sensitive words (i.e., “secure,” “account,” “webscr,” \\ “login,” “ebayisapi,” “signin,” “banking,” “confirm”) in webpage URL\end{tabular}} & \\ \cline{1-4}
\multicolumn{1}{|c|}{26} & \multicolumn{1}{l|}{EmbeddedBrandName} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Checks if brand name appears in subdomains and path of webpage URL. \\ Brand name here is assumed as the most frequent domain name in the webpage\\ HTML content\end{tabular}} & \\ \cline{1-4}
\multicolumn{1}{|c|}{27} & \multicolumn{1}{l|}{PctExtHyperlinks} & \multicolumn{1}{c|}{Continuous} & \multicolumn{1}{l|}{Counts the percentage of external hyperlinks in webpage HTML source code} & \\ \cline{1-4}
\multicolumn{1}{|c|}{28} & \multicolumn{1}{l|}{PctExtResourceUrls} & \multicolumn{1}{c|}{Continuous} & \multicolumn{1}{l|}{Counts the percentage of external resource URLs in webpage HTML source code} & \\ \cline{1-4}
\multicolumn{1}{|c|}{29} & \multicolumn{1}{l|}{ExtFavicon} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Checks if the favicon is loaded from a domain name that is different from the \\ webpage URL domain name\end{tabular}} & \\ \cline{1-4}
\multicolumn{1}{|c|}{30} & \multicolumn{1}{l|}{InsecureForms} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if the form action attribute contains a URL without HTTPS protocol} & \\ \cline{1-4}
\multicolumn{1}{|c|}{31} & \multicolumn{1}{l|}{RelativeFormAction} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if the form action attribute contains a relative URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{32} & \multicolumn{1}{l|}{ExtFormAction} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if the form action attribute contains a URL from an external domain} & \\ \cline{1-4}
\multicolumn{1}{|c|}{33} & \multicolumn{1}{l|}{AbnormalFormAction} & \multicolumn{1}{c|}{Categorical} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Check if the form action attribute contains a “\#,” “about: blank,” an empty \\ string, or javascript:true\end{tabular}} & \\ \cline{1-4}
\multicolumn{1}{|c|}{34} & \multicolumn{1}{l|}{PctNullSelfRedirectHyperlinks} & \multicolumn{1}{c|}{Continuous} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Counts the percentage of hyperlinks fields containing empty value, self-redirect \\ value such as “\#,” the URL of current webpage, or some abnormal value \\ such as “file://E:/”\end{tabular}} & \\ \cline{1-4}
\multicolumn{1}{|c|}{35} & \multicolumn{1}{l|}{FrequentDomainNameMismatch} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Checks if the most frequent domain name in HTML source code does not\\ match the webpage URL domain name\end{tabular}} & \\ \cline{1-4}
\multicolumn{1}{|c|}{36} & \multicolumn{1}{l|}{FakeLinkInStatusBar} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Checks if HTML source code contains JavaScript command onMouseOver to\\ display a fake URL in the status bar\end{tabular}} & \\ \cline{1-4}
\multicolumn{1}{|c|}{37} & \multicolumn{1}{l|}{RightClickDisabled} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Checks if HTML source code contains JavaScript command to disable right\\ click function\end{tabular}} & \\ \cline{1-4}
\multicolumn{1}{|c|}{38} & \multicolumn{1}{l|}{PopUpWindow} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if HTML source code contains JavaScript command to launch pop-ups} & \\ \cline{1-4}
\multicolumn{1}{|c|}{39} & \multicolumn{1}{l|}{SubmitInfoToEmail} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Check if HTML source code contains the HTML “mailto” function} & \\ \cline{1-4}
\multicolumn{1}{|c|}{40} & \multicolumn{1}{l|}{IframeOrFrame} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if iframe or frame is used in HTML source code} & \\ \cline{1-4}
\multicolumn{1}{|c|}{41} & \multicolumn{1}{l|}{MissingTitle} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if the title tag is empty in HTML source code} & \\ \cline{1-4}
\multicolumn{1}{|c|}{42} & \multicolumn{1}{l|}{ImagesOnlyInForm} & \multicolumn{1}{c|}{Binary} & \multicolumn{1}{l|}{Checks if the form scope in HTML source code contains no text at all but images only} & \\ \cline{1-4}
\multicolumn{1}{|c|}{43} & \multicolumn{1}{l|}{SubdomainLevelRT} & \multicolumn{1}{c|}{Categorical} & \multicolumn{1}{l|}{Counts the number of dots in hostname part of webpage URL} & \\ \cline{1-4}
\multicolumn{1}{|c|}{44} & \multicolumn{1}{l|}{UrlLengthRT} & \multicolumn{1}{c|}{Categorical} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Counts the total characters in the webpage URL. Apply rules and thresholds to \\ generate value\end{tabular}} & \\ \cline{1-4}
\multicolumn{1}{|c|}{45} & \multicolumn{1}{l|}{PctExtResourceUrlsRT} & \multicolumn{1}{c|}{Categorical} & \multicolumn{1}{l|}{Counts the percentage of external resource URLs in webpage HTML source code} & \\ \cline{1-4}
\multicolumn{1}{|c|}{46} & \multicolumn{1}{l|}{AbnormalExtFormActionR} & \multicolumn{1}{c|}{Categorical} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Check if the form action attribute contains a foreign domain, “about:blank” or\\ an empty string\end{tabular}} & \\ \cline{1-4}
\multicolumn{1}{|c|}{47} & \multicolumn{1}{l|}{ExtMetaScriptLinkRT} & \multicolumn{1}{c|}{Categorical} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Categorical counts percentage of meta, script and link tags containing external \\ URL in the Attributes\end{tabular}} & \\ \cline{1-4}
\multicolumn{1}{|c|}{48} & \multicolumn{1}{l|}{PctExtNullSelfRedirect-HyperlinksRT} & \multicolumn{1}{c|}{Categorical} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Counts the percentage of hyperlinks in HTML source code that uses different \\ domain names, starts with “\#,” or using “JavaScript:: void(0)”\end{tabular}} & \\ \cline{1-4}
& & & & \\ \hline
\end{tabular}%
}
\end{center}
\end{table}