I have a table built in Latex, it's shown larger than the width of the text. Although I tried many solutions available online, but no one of them has worked with them. I think that is because the text in header cells (first row) cannot be broken, they are written in one line. And even its labels starts from 2 instead of 1, for example, Table 2.: Labels instead of Table 1. : Labels.
Here is the code I am using and its output:
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{table}
\centering
\refstepcounter{table}
\caption{Example}
\begin{tabular}{lllllll}
\hline
\textbf{No} & \textbf{One-text} & \textbf{One-text} & \textbf{One-or-text} (4,3,4)& \textbf{one-or-text} (8,4,2)& \textbf{One-or-text} (4,3,2)& One-or-text (4,2,2)\ \hline
1- & 0.0028 & 0 & 0 & 0 & 0 & 0 \
2- & 0.0063 & 0 & 0.0025 & 0.00018 & 0.0000893 & 0 \ \hline
\end{tabular}
\end{table}
\end{document}


\refstepcounter{table}instruction will take care of the numbering issue. – Mico Aug 11 '21 at 16:11