Hello World in Html

Problem

No problem here, just need to write the simplest program when you start programming in the simplest language. The well-known Hello World program. The program when runs simply shows a “Hello World” message to the user (world).

Code

<!DOCTYPE html>

<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>Hello-World</title>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="description" content="A Hello World in HTML5">
		<meta name="author" content="You">
	</head>

	<body>
		<h1>Hello World!</h1>
	</body>
</html>

Save the above in a file with .html extension e.g. hello_world.html

Open

Open the file in your favorite web browser e.g. Mozilla Firefox, Google Chrome, Safari, etc.

Unlike other programming languages e.g. Java or Python, there is no compilation or execution. The Web Browser simply renders it.

conclusion

Simple Hello World in HTML – HyperText Markup Language version 5. You can take it from here and add CSS to it for some styling and format and Javascript for some interactivity.

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x