learn html and css code example Example 1: HTML <html> <body> <h1>HTML ROCKS!!</h1> </body> </html> Example 2: HTML p <p> hello world </p>