Trả lời chi tiết: test thử syntax highlighting cho code

NOTE: You are posting the message as a 'Guest', you can not edit the message or delete it
Vui lòng Đăng nhập hoặc Đăng ký để bỏ qua bước này

Your e-mail address will never be displayed on the site.
X

Lịch sử bài viết: test thử syntax highlighting cho code

Dưới đây là 6 bài viết - (Mới đến cũ)

Run code from notthing

thêm type="tên_lang_viết_thường" vào thẻ code, ví dụ type="cpp"

C

#include <stdio.h>
 
int main()
{
   printf("Hello, World!");
   return 0;
}

C++
#include <iostream>
 
int main() {
    std::cout << "Hello";
    return 0;
}

JavaScript
alert('Hello, world!');

HTML
<!DOCTYPE HTML>
 
<html>
<header>
    <title>This is title</title>
</header>
<body>
    <p>Hello world</p>
</body>
</html>

CSS
a:link, a:visited, a:hover, a:active {
  background-color: green;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

Thời gian tải trang: 0.627 giây
©2024 GameDevSpot. All Rights Reserved.

Công cụ