title title returns the title of the document. Syntax sTitle = document.title Parameters sTitle is a string that contains the title of the current document. Example <html> <title>Hello World!</title> <body>... // document.title returns "Hello World!" Notes None. Specification title
title returns the title of the document.
sTitle = document.title
sTitle is a string that contains the title of the current document.
<html> <title>Hello World!</title> <body>... // document.title returns "Hello World!"
None.
title