Laravel — P67: HTML Attribute Directives in Blade

Dino Cajic
Geek Culture
Published in
4 min readMar 15

--

HTML Attribute Directive in Blade

In the last article we covered the @class and @style directives to implement conditional styling in Blade. But, there are other HTML attribute directives that are present in Blade that we can utilize:

  • @checked directive
  • @selected directive
  • @disabled directive
  • @readonly directive

--

--

Dino Cajic
Geek Culture

Author of An Illustrative Introduction to Algorithms. IT Leader with a B.S. in Computer Science, a minor in Biology, and a passion for learning.