Article: The “<?php” and “?>” tags tell the PHP engine that everything between them is PHP code. Everything outside the two tags is treated as HTML and ignored by the PHP engine and sent to your browser the same as any other HTML. The important thing to recognize here is that PHP scripts are embedded inside regular HTML pages. Statements are used to tell the PHP engine to do something. In the case of an echo statement, you are telling the engine to print what is inside the quotes. The PHP engine itself never actually prints anything to your screen. Any output generated by the engine is sent to your browser as HTML. Your browser does not know that it's getting PHP output. As far as the browser is concerned, it's getting plain HTML. Adding HTML tags can alter the output of the php statement. The “<strong>” “</strong>” tags will add bold formatting to any text placed inside of them. Note that these tags appear on the outside of the text, but inside of the quotations marks of the echo statement. You want your code to look something like: <?php?echo "<strong>Hello World!</strong>";?> Remember, statements need to be separated by a semicolon. Your code should look something like:<?php echo “Hello World!”<br>;echo “How are you doing?”; ?> The page will display two echo statements, listed in order, on two lines. Notice the “<br>” on the first line. This is HTML markup to insert a line break. If you didn't add this, your output would look like this: Hello World!How are you doing?
What is a summary of what this article is about?
Understand the ‘php’ tags. Understand the statement between the tags. Use HTML tags to make your statement bold. Edit the file to add a second echo statement. Save and run the file as "hello world double.php".