<!DOCTYPE html> <html> <style> textarea { width: 100px; height: 150px; margin: 10px; padding: 0; } </style> <textarea style="writing-mode:vertical-lr"></textarea> <textarea style="writing-mode:vertical-rl"></textarea> <textarea style="writing-mode:sideways-lr"></textarea> <textarea style="writing-mode:sideways-rl"></textarea>