mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
Standardise Getting Started example indentation (#2713)
* Standardise getting started indentation * Indent form example * Drop trailing whitespace to make CI happy --------- Co-authored-by: Tim Düsterhus <tim@bastelstu.be>
This commit is contained in:
@@ -70,12 +70,12 @@
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<html>
|
||||
<head>
|
||||
<title>PHP Test</title>
|
||||
</head>
|
||||
<body>
|
||||
<?php echo '<p>Hello World</p>'; ?>
|
||||
</body>
|
||||
<head>
|
||||
<title>PHP Test</title>
|
||||
</head>
|
||||
<body>
|
||||
<?php echo '<p>Hello World</p>'; ?>
|
||||
</body>
|
||||
</html>
|
||||
]]>
|
||||
</programlisting>
|
||||
@@ -91,12 +91,12 @@
|
||||
<screen role="html">
|
||||
<![CDATA[
|
||||
<html>
|
||||
<head>
|
||||
<title>PHP Test</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Hello World</p>
|
||||
</body>
|
||||
<head>
|
||||
<title>PHP Test</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Hello World</p>
|
||||
</body>
|
||||
</html>
|
||||
]]>
|
||||
</screen>
|
||||
@@ -371,9 +371,9 @@ if (strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') !== false) {
|
||||
<programlisting role="html">
|
||||
<![CDATA[
|
||||
<form action="action.php" method="post">
|
||||
<p>Your name: <input type="text" name="name" /></p>
|
||||
<p>Your age: <input type="text" name="age" /></p>
|
||||
<p><input type="submit" /></p>
|
||||
<p>Your name: <input type="text" name="name" /></p>
|
||||
<p>Your age: <input type="text" name="age" /></p>
|
||||
<p><input type="submit" /></p>
|
||||
</form>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
||||
Reference in New Issue
Block a user