HTML CSS examples for CSS:Quiz
Set text in the <p> element to break between any two letters.
<!DOCTYPE html> <html> <head> <style> p {<!-- ww w. j a va 2 s .com--> width: 150px; border: 1px solid #000000; word-break: break-all; } </style> </head> <body> <p>This paragraph contains a very long word: asdf-asdf-asdf-asdfasdfasdf-asdfasdfasdfasfdasfd.</p> </body> </html>