How to display HTML <FORM> as inline element?

后端 未结 7 2010
死守一世寂寞
死守一世寂寞 2020-12-02 10:43

This is probably a basic html/css question...

I have a simple one-button form that I would like to display inline inside paragraph text.

Rea

7条回答
  •  庸人自扰
    2020-12-02 11:27

    According to HTML spec both

    and

    are block elements and you cannot nest them. Maybe replacing the

    with would work for you?

    EDIT: Sorry. I was to quick in my wording. The

    element doesn't allow any block content within - as specified by HTML spec for paragraphs.

提交回复
热议问题