Python:在屏幕上显示HelloWorld;
print("HelloWorld")
print("HelloWorld")
<!DOCTYPE html>
<html>
<body>
<h1>我的第一张PHP页面</h1>
<?php
echo "Hello World!";
?>
<?php phpinfo(); ?>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<script>
function myFunction()
{
document.getElementById("demo").innerHTML="My HelloWorld JavaScript Function";
}
</script>
</head>
<body>
<h1>My Web Page</h1>
<p id="demo">A Paragraph.</p>
<button type="button" onclick="myFunction()">点这里</button>
</body>
</html>
<html>
<head>
<title>HelloWorld</title>
</head>
<body>
<p><h1>HelloWorld!</h1></p>
</body>
</html>
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HelloWorld
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
label1.Text = "Hello World!";
}
}
}