text size code example
Example 1: how to change font size in html
<body>
<h1 style="color:red;font-size:40px;">Heading</h1>
<p style="color:blue;font-size:18px;">This is demo text</p>
</body>
Example 2: font size css
.class {
font-size: 12px;
}
Example 3: make text bigger html5
p {
font-size: 15px;
}
p {
font-size: large;
}
p {
font-size: 150%;
}
Example 4: html font size
<span style="font-size:20px;"></span>
Example 5: text size
\documentclass[12pt,a4paper]{report}
\usepackage{graphicx}
\begin{document}
\begin{titlepage}
\centering
\includegraphics[width=0.15\textwidth]{example-image-1x1}\par\vspace{1cm}
{\scshape\LARGE Columbidae University \par}
\vspace{1cm}
{\scshape\Large Final year project\par}
\vspace{1.5cm}
{\huge\bfseries Pigeons love doves\par}
\vspace{2cm}
{\Large\itshape John Birdwatch\par}
\vfill
supervised by\par
Dr.~Mark \textsc{Brown}
\vfill
% Bottom of the page
{\large \today\par}
\end{titlepage}
\end{document}
Example 6: text size
{\large this text is slightly bigger than normal}, this one is not.