Total members 11895 |It is currently Wed Dec 25, 2024 6:22 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Code:
<HTML>
  <HEAD>
  <TITLE> Printing text on a Web Page </TITLE>
  </HEAD>
  <BODY>
  <?php
  
function textonweb ($content, $fontsize) {
     echo
"<FONT SIZE=$fontsize>$content</FONT>";
  }
  
textonweb ("A <BR>", 7);
  
textonweb ("AA. <BR>", 3);
  
textonweb ("AAA. <BR>", 3);
  
textonweb ("AAAA! <BR>", 3);
  
?>
  </BODY>
</HTML>




_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : Function printing text on a Web Page
 avoid showing/printing figures, text after conclusion     -  
 change the direction of text in your page     -  
 Add double quotes to text dynamically, on page load     -  
 Printing PDFs in Java     -  
 Printing today+ current date with different format     -  
 Image Scroller-scrollbar-LINE_UP,LINE_DOWN-PAGE-UP-PAGE-DOWN     -  
 Able to Copy Text from Uneditable Text Boxes(JTextfields)     -  
 Java- Copy text area into disabled text area     -  
 php function     -  
 Function return more than one value     -  



Topic Tags

PHP Functions
cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com