# Why doesn't this this line appear between tables?

I'm trying to learn how to typeset caption tables but... why doesn't this text appear between tables?

\documentclass{article}
\usepackage{subcaption}
\begin{document}

\begin{table}
\begin{subtable}{.5\linewidth}\centering
{\begin{tabular}{ccc}
\ $a$ & $b$ & $c$ \\
\hline 0 & 0 & 0 \\
\ 1 & 1 & 1 \\
\end{tabular}}
\caption{A subtable}\label{tab:1a}
\end{subtable}%
%
\begin{subtable}{.5\linewidth}\centering
{\begin{tabular}{c c c}
\ $a$ & $b$ & $c$ \\
\hline 0 & 0 & 0 \\
\ 1 & 1 & 1 \\
\end{tabular}}
\caption{Another subtable}\label{tab:1b}
\end{subtable}
\caption{A table}\label{tab:1}
\end{table}

Why is not this text between the tables?

\begin{table}
\begin{subtable}{.5\linewidth}\centering
{\begin{tabular}{ccc}
\ $a$ & $b$ & $c$ \\
\hline 0 & 0 & 0 \\
\ 1 & 1 & 1 \\
\end{tabular}}
\caption{A subtable}\label{tab:1a}
\end{subtable}%
%
\begin{subtable}{.5\linewidth}\centering
{\begin{tabular}{c c c}
\ $a$ & $b$ & $c$ \\
\hline 0 & 0 & 0 \\
\ 1 & 1 & 1 \\
\end{tabular}}
\caption{Another subtable}\label{tab:1b}
\end{subtable}
\caption{A table}\label{tab:1}
\end{table}

\end{document}

-
–  Mike Renfro Jun 11 '14 at 13:14
Use \begin{table}[htb] for both tables. –  Harish Kumar Jun 11 '14 at 13:16
Also related: tex.stackexchange.com/questions/2275/… –  Torbjørn T. Jun 11 '14 at 16:09

You do not need a table environment to make a table, you can just use tabular directly (just as you do not need figure to include an image, that is done with \includegraphicics)
The only point of figure and table is that they are floats which means that they can be moved by the system to help with page breaking. In the comments it has been suggested to include h in the float position arguments which gives the possibility of the float being placed "here" and not being moved, but even if it happens not to move you should not write the surrounding text assuming that as any edit to the document can change the page breaking decisions.