Test Start

This page uses scripting to modify the content of the page title to contain only one word.

Test End

Rule References

Rule Pass IDs Fail IDs
Rule 25 none
  • title

Calculations

No calculations for test 58

Test Description

  • This test page uses scripting to replace the title text with text of only one word.

Test Markup

User Agent Implementation

No user agent implementation information.

HTML Source Code


<div class="wrapper">
   <p>This page uses scripting to modify the content of the page title to contain only one word.</p>
</div>

CSS Code


div.wrapper {
  margin: 20px;
  padding: 10px;
  overflow: visible;
  background-color: #faf7f0;
  border: 1px solid #880000;
  -webkit-border-radius: 10px; /* Safari and Chrome rounded corners */
  -moz-border-radius: 10px; /* Firefox rounded corners */
  border-radius: 10px; /* Opera rounded corners */
}

Javascript Source Code


$(document).ready(function() {
   $('title').text('Title');

});