<Head>
<html lang="en">
<head>
    
  <title>Title of the document</title>
  <base href="https://www.youtube.com/">
  <meta charset="UTF-8">
  <link rel="stylesheet" href="styles.css">

  <style>
    h1 {color:red;}
    p {color:blue;}
  </style>

  <script>
    document.getElementById("demo").innerHTML = "Hello JavaScript!";
  </script>

  <noscript>Sorry, your browser does not support JavaScript!</noscript>


</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>
<a href="watch?v=mJgBOIoGihA&t=10840s">HTML Youtube Video</a>

</body>
</html>
HTML
1.<title>
<html lang="en">
<head>
    
  <title>HTML Home-Page</title>

</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
HTML
2.<style>

<html lang="en">
<head>
    
    <style>
        h1 {color:red;}
        p {color:blue;}
    </style>

</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
Html document ekaka Css ekathu kirimata style tag eka yodagannawa
3.<base>
<html lang="en">
<head>
    
  <base href="https://www.youtube.com/" target="_blank">

</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>
<a href="watch?v=mJgBOIoGihA&t=10840s">HTML Youtube Video</a>

</body>
</html>
HTML
4.<meta>
<html lang="en">
<head>
    
    <meta charset="UTF-8">
    <meta http-equiv=”refresh” content=”300″>		
    <meta name=”author” content=”John Doe”>	
    <meta name=”description” content=”Free web tutorials”>	
    <meta name=”keywords” content=”HTML, meta tag, tag reference”>	
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
HTML
5.<link>
<html lang="en">
<head>
    
    <link rel="stylesheet" href="styles.css">
    <link rel="icon" type="image/x-icon" href="/images/favicon.ico">


</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
HTML
6.<script>
<html lang="en">
<head>  


  <script>
    document.getElementById("demo").innerHTML = "Hello JavaScript!";
  </script>
  

</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
HTML
7.<nonscript>
<html lang="en">
<head>
    

  <script>
    document.getElementById("demo").innerHTML = "Hello JavaScript!";
  </script>

  <noscript>Sorry, your browser does not support JavaScript!</noscript>


</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
HTML
Scroll to Top