Đề minh họa tốt nghiệp THPT môn Tin học có đáp án năm 2025 (Đề 8)

Cú pháp HTML nào sau đây là đúng để tạo một bảng có độ rộng 500px? A. <table width="500"><tr><td>1</td><td>2</td><td>3</td></tr></table> B. <table><tr width="500"><td>1</td><td>2</td><td>3</

20/30

Cú pháp HTML nào sau đây là đúng để tạo một bảng có độ rộng 500px?

<table width="500"><tr><td>1</td><td>2</td><td>3</td></tr></table>

<table><tr width="500"><td>1</td><td>2</td><td>3</td></tr></table>.

<table><tr><td width="500">1</td><td>2</td><td>3</td></tr></table>

<table><tr><th width="500">1</th><td>2</td><td>3</td></tr></table>

Giải thích

Chọn A