Skip to content
Related Articles

Related Articles

Improve Article

CSS azimuth Property

  • Last Updated : 05 Nov, 2020

The azimuth property tells the position of a sound producer (source) over the horizontal axis of the listener’s environment. The values or possible arguments are: angle, left, right, center.

Syntax:

HTML




<style type="text/css">
    html tag {
        azimuth: 70deg;
    }
  
    html tag {
        azimuth: behind left;
    }
</style>
  
<!--This part should be written
    in head tag -->

Code Implementation:

HTML




<!DOCTYPE html>
<html>
  
<head>
    <!-- h1 and h3 with azimuth property  -->
    <style type="text/css">
        h1 {
            azimuth: 70deg;
        }
  
        h3 {
            azimuth: behind left;
        }
    </style>
</head>
  
<body>
  
    <h1>geeks for geeks portal</h1>
    <h3>computer science</h3>
  
    <!-- Defining h1 and h3 tages with content -->
</body>
  
</html>

Output:



HTML




<!DOCTYPE html>
<html>
  
<head>
    <!-- Defining azimuth property with 
        azimuth by 180 degrees -->
    <style type="text/css">
        p {
            azimuth: 180deg;
        }
    </style>
</head>
  
<body>
  
      
<p>Computer php and java
      
<p>
        <!-- paragraph tag -->
    </p>
  
</body>
  
</html>

Output:

 

 

Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.




My Personal Notes arrow_drop_up
Recommended Articles
Page :