Search
 
SCRIPT & CODE EXAMPLE
 

HTML

style

<!DOCTYPE html>
<html>
<body>
<!-----mohammad-alshraideh----->
<h2 class="c" onclick="this.innerHTML='javascript html events'">JavaScript HTML Events</h2>
<h2 class="do" onclick="this.innerHTML='Great'">Click on this text!</h2>
<h2 class="dont" onclick="this.innerHTML='Ooops!'">don't Click here</h2>
<style>
.dont{
  background-color: rgb(26, 206, 86);
width : 190px;
height:70px;
}
.dont:hover{
width : 70px;
height:190px;
  background-color: #bd1111;
}
.do{
  background-color: rgb(26, 206, 86);
  width : 190px;
}

</style>

</body>
</html>
Comment

Style

<!-- External -->
<link rel="stylesheet" href="css/file.css" />

<!-- Internal -->
<style>
p {
  color: red;
}
</style>

<!-- Inline -->
<p style="color: blue;">This Is Our Paragraph</p>
Comment

Style

<!-- Write Path -->
<link rel="stylesheet" href="assets/css/master.css" />
Comment

Style

<!-- Write Path -->
<link rel="stylesheet" href="source/css/main.css" />
Comment

style

<input type="file" onchange="previewFile()"><br>
<img src="" height="200" alt="Image preview..." style="diaplay:none">
Comment

style

<TAG style="property1:value1;property2:value2">
. . .
</TAG>
Comment

style

<!-- external syle -->
<link rel="stylesheet" href="css/file.css" />

<!-- internal style -->
<style>
p {
  color: red;
}
</style>

<!-- inline style -->
<p style="color: blue;">This Is Our Paragraph</p>
Comment

style

<!-- Write Path -->
<link rel="stylesheet" href="../assets/css/master.css" />
Comment

style

<link rel="stylesheet" type="text/css" href="/style.css" />
Comment

PREVIOUS NEXT
Code Example
Html :: how to set up html basic workspace 
Html :: como meter imagem html code 
Html :: javascript looparray 
Html :: convert js to html 
Html :: google address suggestion is not working inside popup modal 
Html :: nombre y etiquetas de html5 
Html :: desactiver un boutton react 
Html :: bootstrap form navbar for add new row 
Html :: html disclaimer text 
Html :: simple html template 
Html :: Make a divider in xml 
Html :: html cache api checker 
Html :: afficher une page web dans une page web 
Html :: get all classes from html file 
Html :: html anchor in samae page without url 
Html :: truncate text line clamp 
Html :: Vanilla JavaScript Responsive Form 
Html :: how to give value to model from radio button html asp with enums if checked 
Html :: bootsrap loader 
Html :: what is the best class for lists in html 
Html :: how to check *ngIf with ENUMs in componenet.html 
Html :: nepal location 
Html :: amazon type search box html css 
Html :: java ee static html 
Html :: meta initial scale resize to fit screen 
Html :: text background color html 
Html :: laravel route implicit binding 
Html :: Using HTML, write a code snippet that will result to this HTML table output. * 
Html :: enter more than one function in onclick event js 
Html :: image code 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =