Dieser Artikel beschreibt die einfache Implementierung von JS zur Ausgabe von Informationen, die die Baidu -Konsole imitieren. Teilen Sie es für Ihre Referenz wie folgt weiter:
<! DocType html> <html> <head> <meta http-äquiv = "content-type" content = "text/html; charset = utf-8"/> <title> </title> </head> <body> <h3> Öffnen Sie die Konsole und nehmen Sie einen Aussehen. Um den Benutzer zu erreichen? Mars "," Farbe: rot "); console.log (" Position Einführung: http://www.xxx.com ") </script> </body> </html>Die Renderings sind wie folgt:
For more information about JavaScript related content, please check out the topics of this site: "Summary of JavaScript Errors and Debugging Skills", "Summary of JavaScript Switching Special Effects and Skills", "Summary of JavaScript Animation Special Effects and Skills", "Summary of JavaScript Search Algorithm", "Summary of JavaScript Data Structures and Algorithm Skills", "Summary of JavaScript traversal Algorithmen und Techniken "," Zusammenfassung der JSON -Betriebstechniken in JavaScript "und" Zusammenfassung der Verwendung von JavaScript Mathematical Operation ""
Ich hoffe, dieser Artikel wird für JavaScript -Programme aller hilfreich sein.