print html tag in ternary operator laravel code example Example: ternary operator laravel blade //laravel {{ condition ? 'yes' : 'no' }}