rectangle using SVG



    Khalid Khan

    In the SVG, there is a rectangle that has a fill of rgb(0,0,255) and a stroke-width of 10. This means that the rectangle will be filled with a light blue color, and the stroke will be a light blue color as well.

    <svg width="400" height="100">
      <rect width="400" height="100" style="fill:rgb(0,0,255);stroke-width:10;stroke:rgb(0,0,0)" />
      Sorry,browser not supported.
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.